Skip to content
Snippets Groups Projects
Commit b2852369 authored by ulif's avatar ulif
Browse files

Remove obsolete test.

parent 33c79db2
No related branches found
No related tags found
No related merge requests found
......@@ -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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment