diff options
-rw-r--r-- | tests/test_util.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_util.py b/tests/test_util.py index 7fbbba2d..e480b503 100644 --- a/tests/test_util.py +++ b/tests/test_util.py @@ -145,15 +145,15 @@ class UtilTest(unittest.TestCase): def test_duplicates_removed_seq_types(self): # tuple x = util.duplicates_removed(('a', 'a', 'b')) - self.assertSequenceEqual(('a', 'b'), x) + self.assertEqual(['a', 'b'], x) # list x = util.duplicates_removed(['a', 'a', 'b']) - self.assertSequenceEqual(('a', 'b'), x) + self.assertEqual(['a', 'b'], x) # iterator x = util.duplicates_removed(iter(('a', 'a', 'b'))) - self.assertSequenceEqual(('a', 'b'), x) + self.assertEqual(['a', 'b'], x) def test_duplicates_removed_nonconsecutive(self): # keeps first x = util.duplicates_removed(('a', 'b', 'a')) - self.assertSequenceEqual(('a', 'b'), x) + self.assertEqual(['a', 'b'], x) |