diff --git a/Lib/test/test_bsddb.py b/Lib/test/test_bsddb.py index 474f3da42b2..fbe855fb2b5 100755 --- a/Lib/test/test_bsddb.py +++ b/Lib/test/test_bsddb.py @@ -205,7 +205,7 @@ def test_for_cursor_memleak(self): # create iterator i = self.f.iteritems() nc2 = len(self.f._cursor_refs) - # use the iterator (should run to the first yeild, creating the cursor) + # use the iterator (should run to the first yield, creating the cursor) k, v = i.next() nc3 = len(self.f._cursor_refs) # destroy the iterator; this should cause the weakref callback