We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d64204 commit ed3dc5eCopy full SHA for ed3dc5e
test_jsonstore.py
@@ -216,7 +216,8 @@ def test_del(self):
216
del self.store["list", 1]
217
218
self.store.dict = {}
219
- with self.assertRaises(TypeError):
+ # somewhere after python 3.9 this went from a TypeError to a KeyError
220
+ with self.assertRaises((TypeError, KeyError)):
221
del self.store["dict", slice("a")]
222
223
def test_context_and_deserialisation(self):
0 commit comments