Commit 5bc92e08 authored by Benjamin Peterson's avatar Benjamin Peterson

don't rely on dict order here

parent aee9dfba
...@@ -47,7 +47,7 @@ class TestGdbm(unittest.TestCase): ...@@ -47,7 +47,7 @@ class TestGdbm(unittest.TestCase):
all = set(gdbm.open_flags) all = set(gdbm.open_flags)
# Test standard flags (presumably "crwn"). # Test standard flags (presumably "crwn").
modes = all - set('fsu') modes = all - set('fsu')
for mode in modes: for mode in sorted(modes):
self.g = gdbm.open(filename, mode) self.g = gdbm.open(filename, mode)
self.g.close() self.g.close()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment