Skip to content

Commit da71c1a

Browse files
committed
fix
1 parent 190dac4 commit da71c1a

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

Industrial_developed_hangman/tests/test_hangman/test_main.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,6 @@ def choice_fn() -> Callable:
3434
return lambda array: array[0] # noqa: E731
3535

3636

37-
def test_parse_word_from_local() -> None:
38-
assert isinstance(parse_word_from_local(), str)
39-
40-
41-
def test_parse_word_from_local_error() -> None:
42-
data_path = Path(os.path.abspath("")) / "Data"
43-
real_name = "local_words.txt"
44-
time_name = "local_words_not_exist.txt"
45-
46-
os.rename(data_path / real_name, data_path / time_name)
47-
with pytest.raises(FileNotFoundError):
48-
parse_word_from_local()
49-
os.rename(data_path / time_name, data_path / real_name)
50-
51-
5237
@pytest.mark.internet_required
5338
def test_parse_word_from_site() -> None:
5439
assert isinstance(parse_word_from_site(), str)

0 commit comments

Comments
 (0)