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:
34
34
return lambda array : array [0 ] # noqa: E731
35
35
36
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
37
@pytest .mark .internet_required
53
38
def test_parse_word_from_site () -> None :
54
39
assert isinstance (parse_word_from_site (), str )
You can’t perform that action at this time.
0 commit comments