Skip to content

Commit

Permalink
fix typo in fixture_types and fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bgunnar5 committed Nov 8, 2024
1 parent 6a9ede4 commit 711ce06
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions tests/fixture_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,25 @@
else:
# Fallback for Python 3.7 and 3.8
class FixtureDict(Generic[K, V], Dict[K, V]):
"""
This class is necessary to allow FixtureDict to be subscriptable
when using it to type hint.
"""
pass

class FixtureTuple(Generic[K, V], Tuple[K, V]):
"""
This class is necessary to allow FixtureTuple to be subscriptable
when using it to type hint.
"""
pass

FixtureBytes = pytest.fixture
FixtureCallable = pytest.fixture
FixtureCelery = pytest.fixture
FixtureDict = FixtureDict
FixtureInt = pytest.fixture
FixtureModification = pytest.fixture
FixtureNamespace = pytest.fixture
FixtureRedis = pytest.fixture
FixtureSignature = pytest.fixture
FixtureStr = Fixture
FixtureTuple = pytest.fixture
FixtureStr = pytest.fixture

0 comments on commit 711ce06

Please sign in to comment.