From 63eecc7eee12e473701c834592db00ff1bf43423 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 22 Feb 2007 23:55:25 +0000 Subject: Fix the last two tests. Thanks to Brett for fixing so many before! I see some tracebacks from threads when testing test_bsddbd3 (on OSX) but the test claims to pass, so I'm ignoring these. --- Lib/test/test_compile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Lib/test/test_compile.py') diff --git a/Lib/test/test_compile.py b/Lib/test/test_compile.py index 2b5a135ab2..1acb4a1f5d 100644 --- a/Lib/test/test_compile.py +++ b/Lib/test/test_compile.py @@ -53,8 +53,8 @@ class TestSpecifics(unittest.TestCase): raise KeyError def __setitem__(self, key, value): self.results = (key, value) - def __iter__(self): - return iter('xyz') + def keys(self): + return list('xyz') m = M() g = globals() -- cgit v1.2.1