diff --git a/unittests/test_property.py b/unittests/test_property.py
index d3c0fa4b3e19c9239b6dd8b1059af60286c02d4b..98282ec1ccae5ce724f1210b4c50a2b08a08dd38 100644
--- a/unittests/test_property.py
+++ b/unittests/test_property.py
@@ -163,7 +163,7 @@ def test_remove_value_from_property():
     assert rec.get_property("testListProp1").datatype == db.LIST(db.INTEGER)
 
     rec.remove_value_from_property("testScalarProp2", True)
-    assert rec.get_property("testScalarProp2").value == False
+    assert rec.get_property("testScalarProp2").value is False
     assert rec.get_property("testScalarProp2").datatype == db.BOOLEAN
 
     # Simple removals from lists without emptying them