From 5bc92e0824aadca21498aca61a002bc8c3a470d8 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 20 Feb 2012 21:47:54 -0500 Subject: don't rely on dict order here --- Lib/test/test_gdbm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v0.12