diff --git a/test/test_persistent_dict.py b/test/test_persistent_dict.py
index 6dc8a139e8636eb92618e338c07a8027805ebcb6..4256a2440fd7e9518dbc798ef91acd2c3c6e1b42 100644
--- a/test/test_persistent_dict.py
+++ b/test/test_persistent_dict.py
@@ -292,7 +292,7 @@ def test_write_once_persistent_dict_cache_collisions():
             pdict[key2] = 1
 
         # check store_if_not_present
-        pdict.store_if_not_present(key2, 1)
+        pdict.store_if_not_present(key2, 2)
         assert pdict[key1] == 1
 
     finally: