diff options
Diffstat (limited to 'Lib/test/test_sort.py')
-rw-r--r-- | Lib/test/test_sort.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_sort.py b/Lib/test/test_sort.py index 1c10230..053b338 100644 --- a/Lib/test/test_sort.py +++ b/Lib/test/test_sort.py @@ -1,7 +1,6 @@ from test.test_support import verbose import random from UserList import UserList -from sets import Set nerrors = 0 @@ -230,7 +229,7 @@ class TestSorted(unittest.TestCase): self.assertEqual(list.sorted(s), list.sorted(T(s))) s = ''.join(dict.fromkeys(s).keys()) # unique letters only - for T in [unicode, Set, list, tuple, dict.fromkeys]: + for T in [unicode, set, frozenset, list, tuple, dict.fromkeys]: self.assertEqual(list.sorted(s), list.sorted(T(s))) def test_baddecorator(self): |