diff options
author | Georg Brandl <georg@python.org> | 2012-02-20 21:48:06 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2012-02-20 21:48:06 (GMT) |
commit | 16684eb62449922b8e066d8063cebc682c0ea5c7 (patch) | |
tree | b1bb41648bfb03a680850c923f60c2506f1c6b19 /Lib | |
parent | f47b20f0b00452e00a014c6fb80b911899845e2f (diff) | |
download | cpython-16684eb62449922b8e066d8063cebc682c0ea5c7.zip cpython-16684eb62449922b8e066d8063cebc682c0ea5c7.tar.gz cpython-16684eb62449922b8e066d8063cebc682c0ea5c7.tar.bz2 |
Fix dbm_gnu test relying on set order.
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/test/test_dbm_gnu.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_dbm_gnu.py b/Lib/test/test_dbm_gnu.py index ce96ce4..30a39f7 100755 --- a/Lib/test/test_dbm_gnu.py +++ b/Lib/test/test_dbm_gnu.py @@ -53,7 +53,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): # put "c" mode first self.g = gdbm.open(filename, mode) self.g.close() |