mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
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:
parent
0072e43d29
commit
63eecc7eee
3 changed files with 5 additions and 6 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue