We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 190dac4 commit da71c1aCopy full SHA for da71c1a
1 file changed
Industrial_developed_hangman/tests/test_hangman/test_main.py
@@ -34,21 +34,6 @@ def choice_fn() -> Callable:
34
return lambda array: array[0] # noqa: E731
35
36
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
52
@pytest.mark.internet_required
53
def test_parse_word_from_site() -> None:
54
assert isinstance(parse_word_from_site(), str)
0 commit comments