diff --git a/openstackclient/tests/common/test_parseractions.py b/openstackclient/tests/common/test_parseractions.py
index b75c48140b..0afbdb7af7 100644
--- a/openstackclient/tests/common/test_parseractions.py
+++ b/openstackclient/tests/common/test_parseractions.py
@@ -101,7 +101,7 @@ class TestKeyValueAction(utils.TestCase):
         # There should be no red or blue
         expect = {'green': '100%'}
         self.assertDictEqual(expect, actual)
-        self.assertEqual(None, failhere)
+        self.assertIsNone(failhere)
 
 
 class TestNonNegativeAction(utils.TestCase):