Skip to content

Commit d75fdb5

Browse files
committed
feat: pytest.Fixture not supported
1 parent 374eb6a commit d75fdb5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_repository.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
from grading_lib.repository import Repository, RepositoryBaseTestCase
66

77

8-
def test_Repository_init_with_an_empty_folder(tmp_path: pytest.Fixture) -> None:
8+
def test_Repository_init_with_an_empty_folder(tmp_path) -> None:
99
repo = Repository(tmp_path)
1010
assert isinstance(repo.working_tree_dir, Path)
1111

1212

13-
def test_Repository_create_and_add_random_file(tmp_path: pytest.Fixture) -> None:
13+
def test_Repository_create_and_add_random_file(tmp_path) -> None:
1414
repo = Repository(tmp_path)
1515
assert isinstance(repo.working_tree_dir, Path)
1616

@@ -22,7 +22,7 @@ def test_Repository_create_and_add_random_file(tmp_path: pytest.Fixture) -> None
2222
assert len(repo.repo.index.entries) == 2
2323

2424

25-
def test_RepositoryBaseTestCase_assertHasOnlyGitCommand(tmp_path: pytest.Fixture) -> None:
25+
def test_RepositoryBaseTestCase_assertHasOnlyGitCommand(tmp_path) -> None:
2626
class Child(RepositoryBaseTestCase):
2727
pass
2828

0 commit comments

Comments
 (0)