diff --git a/test/test_persistent_dict.py b/test/test_persistent_dict.py index bea880807a12c636ec840194c5f4b56bbefb12f9..dfb1cdc4f9d69b0314990e5de16b770331fec556 100644 --- a/test/test_persistent_dict.py +++ b/test/test_persistent_dict.py @@ -261,7 +261,7 @@ def test_write_once_persistent_dict_cache_collisions(): key2 = PDictTestingKeyOrValue(2, hash_key=0) pdict[key1] = 1 - # check lookup + # check lookup with pytest.warns(UserWarning): with pytest.raises(NoSuchEntryError): pdict[key2]