diff --git a/tests/test_wordlist.py b/tests/test_wordlist.py index 0e277c80e2cb6f6c742ecb635e8f29051fcadf90..61ca47be239c8925b9802e97ef5cb84321ea06f8 100644 --- a/tests/test_wordlist.py +++ b/tests/test_wordlist.py @@ -169,16 +169,6 @@ class TestWordList(object): w_list = WordList(str(in_file)) assert w_list.fd is not None - def test_create_accepts_fd_with_broken_seek(self, argv_handler): - # we accept files that have no working seek() (like sys.stdin) - fd = StringIO(b"word1\nword2\n".decode("utf-8")) - - def broken_seek(num): - raise IOError("Illegal seek") - fd.seek = broken_seek - w_list = WordList(fd) - assert w_list.fd is not fd - def test_file_simple(self, tmpdir): # we handle simple files correctly in_file = tmpdir.mkdir("work").join("mywordlist")