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 | 7c573f7a075fd8fc7bf90bdbcc4f163cda3b9acf (patch) | |
tree | a039563a67192450781586c3a534d049453a88a7 /Lib/test | |
parent | 06b1c4f68bca367bf2a2c8ce9bf36168ccb2f9ef (diff) | |
download | cpython-7c573f7a075fd8fc7bf90bdbcc4f163cda3b9acf.zip cpython-7c573f7a075fd8fc7bf90bdbcc4f163cda3b9acf.tar.gz cpython-7c573f7a075fd8fc7bf90bdbcc4f163cda3b9acf.tar.bz2 |
Fix dbm_gnu test relying on set order.
Diffstat (limited to 'Lib/test')
-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 2173b92..f77dcfe 100755 --- a/Lib/test/test_dbm_gnu.py +++ b/Lib/test/test_dbm_gnu.py @@ -49,7 +49,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() |