diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-02-21 02:47:54 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-02-21 02:47:54 (GMT) |
commit | 5bc92e0824aadca21498aca61a002bc8c3a470d8 (patch) | |
tree | eb205e4e58518007a37ef6d2a16bb05be9550c11 /Lib | |
parent | aee9dfba4a9230f2832dd69d67e92f8e0490a163 (diff) | |
download | cpython-5bc92e0824aadca21498aca61a002bc8c3a470d8.zip cpython-5bc92e0824aadca21498aca61a002bc8c3a470d8.tar.gz cpython-5bc92e0824aadca21498aca61a002bc8c3a470d8.tar.bz2 |
don't rely on dict order here
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_gdbm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_gdbm.py b/Lib/test/test_gdbm.py index f4bbc38..e9169a2 100644 --- a/Lib/test/test_gdbm.py +++ b/Lib/test/test_gdbm.py @@ -47,7 +47,7 @@ class TestGdbm(unittest.TestCase): all = set(gdbm.open_flags) # Test standard flags (presumably "crwn"). modes = all - set('fsu') - for mode in modes: + for mode in sorted(modes): self.g = gdbm.open(filename, mode) self.g.close() |