From dbc0db20cb87043816826edeaca66a6dba063bfc Mon Sep 17 00:00:00 2001 From: ulif <uli@gnufix.de> Date: Fri, 2 Jun 2017 23:56:33 +0200 Subject: [PATCH] Remove obsolete test. --- tests/test_wordlist.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tests/test_wordlist.py b/tests/test_wordlist.py index e16b3a6..bbcc7d2 100644 --- a/tests/test_wordlist.py +++ b/tests/test_wordlist.py @@ -169,15 +169,6 @@ class TestWordList(object): w_list = WordList(str(in_file)) assert w_list.fd is not None - def test_create_accepts_open_file(self, tmpdir): - # if we pass in an open file, it will be used - in_file = tmpdir.mkdir("work").join("mywordlist") - in_file.write("foo\n") - with open(str(in_file), "r") as my_open_file: - w_list = WordList(my_open_file) - assert w_list.fd is not None - assert w_list.path is 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")) -- GitLab