Python 2.5-2.6 compatibility fix
This commit is contained in:
parent
f2c25b4744
commit
11d4f6499a
@ -1929,7 +1929,7 @@ class FieldTest(unittest.TestCase):
|
||||
|
||||
user = User.objects(bookmarks__all=[post_1]).first()
|
||||
|
||||
self.assertIsNotNone(user)
|
||||
self.assertNotEqual(user, None)
|
||||
self.assertEqual(user.bookmarks[0], post_1)
|
||||
|
||||
Post.drop_collection()
|
||||
|
Loading…
x
Reference in New Issue
Block a user