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.
This commit is contained in:
Guido van Rossum 2007-02-22 23:55:25 +00:00
parent 0072e43d29
commit 63eecc7eee
3 changed files with 5 additions and 6 deletions

View file

@ -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()