fix == None assertions

This commit is contained in:
Bastien Gérard
2019-08-31 22:51:13 +03:00
parent 3e764d068c
commit c61c6a8525
10 changed files with 70 additions and 70 deletions

View File

@@ -122,7 +122,7 @@ class TestBaseDict(unittest.TestCase):
def test_get_default(self):
base_dict = self._get_basedict({})
sentinel = object()
assert base_dict.get("new") == None
assert base_dict.get("new") is None
assert base_dict.get("new", sentinel) is sentinel
def test___setitem___calls_mark_as_changed(self):