File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
Industrial_developed_hangman/tests/test_hangman Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff 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
5338def test_parse_word_from_site () -> None :
5439 assert isinstance (parse_word_from_site (), str )
You can’t perform that action at this time.
0 commit comments