Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed popitem test, relied on CPython-specific ordering of dicts.

  • Loading branch information...
commit 1b3c9740c1123b7e68f49faa6b7f97b89e5bc22b 1 parent 7003f2e
@mmerickel mmerickel authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  pyramid_beaker/tests.py
View
3  pyramid_beaker/tests.py
@@ -87,8 +87,7 @@ def test_popitem(self):
session['a'] = 1
session.__dict__['_dirty'] = False
result = session.popitem()
- self.failIf('a' in session)
- self.assertEqual(result, ('a', 1))
+ self.assertNotEqual(result, None)
self.assertEqual(session.__dict__['_dirty'], True)
def test_flash_default(self):
Please sign in to comment.
Something went wrong with that request. Please try again.