Skip to content

Commit

Permalink
Upgrade pytest to version 6 (joke2k#1245)
Browse files Browse the repository at this point in the history
  • Loading branch information
mondeja authored and IlfirinPL committed Apr 9, 2021
1 parent 04ac173 commit 7ed27d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/providers/test_barcode.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def test_ean13_leading_zero(self, faker, num_samples):
assert (sum(ean13_digits) + 2 * sum(ean13_digits[1::2])) % 10 == 0


@pytest.fixture('class')
@pytest.fixture(scope='class')
def provider_class(request):
if hasattr(request.cls, 'get_provider_class') and callable(request.cls.get_provider_class):
_provider_class = request.cls.get_provider_class()
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ skip_missing_interpreters = true
deps =
coverage
freezegun<0.4
pytest>=5.4.0,<5.5
pytest>=6.0.1
random2
ukpostcodeparser>=1.1.1
validators>=0.13.0
Expand Down

0 comments on commit 7ed27d8

Please sign in to comment.