summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_compile.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-02-22 23:55:25 (GMT)
committerGuido van Rossum <guido@python.org>2007-02-22 23:55:25 (GMT)
commit63eecc7eee12e473701c834592db00ff1bf43423 (patch)
treecdc432117e49ec38ede219afa9539a8f2a4a7521 /Lib/test/test_compile.py
parent0072e43d295f25b709ced3b9f7a395fbd35d08e0 (diff)
downloadcpython-63eecc7eee12e473701c834592db00ff1bf43423.zip
cpython-63eecc7eee12e473701c834592db00ff1bf43423.tar.gz
cpython-63eecc7eee12e473701c834592db00ff1bf43423.tar.bz2
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.
Diffstat (limited to 'Lib/test/test_compile.py')
-rw-r--r--Lib/test/test_compile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_compile.py b/Lib/test/test_compile.py
index 2b5a135..1acb4a1 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()