diff --git a/test/decorators_test.py b/test/decorators_test.py
index 4a5e3204..c7e4ad78 100644
--- a/test/decorators_test.py
+++ b/test/decorators_test.py
@@ -731,7 +731,7 @@ def cmd6(foo):
         assert cmd3.parameters[0].type == "Float"
         assert cmd4.parameters[0].type == "Boolean"
         assert cmd5.parameters[0].type == "Dictionary"
-        assert cmd6.parameters[0].type == None
+        assert cmd6.parameters[0].type is None
 
         with pytest.raises(ValueError):