summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_enumerate.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_enumerate.py')
-rw-r--r--Lib/test/test_enumerate.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_enumerate.py b/Lib/test/test_enumerate.py
index 00ecbcc..34bc71d 100644
--- a/Lib/test/test_enumerate.py
+++ b/Lib/test/test_enumerate.py
@@ -141,11 +141,8 @@ class TestReversed(unittest.TestCase):
x = xrange(1)
self.assertEqual(type(reversed(x)), type(iter(x)))
- def test_double_reverse(self):
- s = 'hello'
- self.assertEqual(list(reversed(reversed(s))), list(s))
-
def test_len(self):
+ # This is an implementation detail, not an interface requirement
s = 'hello'
self.assertEqual(len(reversed(s)), len(s))