diff --git a/Framework/PythonInterface/test/python/mantid/plots/helperfunctionsTest.py b/Framework/PythonInterface/test/python/mantid/plots/helperfunctionsTest.py
index 3b59bee3ab774ae6c66706669ac12f7aba1bcdb5..66fa97330243f041979e1f0755b0c23801655780 100644
--- a/Framework/PythonInterface/test/python/mantid/plots/helperfunctionsTest.py
+++ b/Framework/PythonInterface/test/python/mantid/plots/helperfunctionsTest.py
@@ -382,7 +382,7 @@ class HelperFunctionsTest(unittest.TestCase):
         axis = MantidAxType.SPECTRUM
         res_workspace_index, res_spectrum_number, res_kwargs = funcs._get_wksp_index_and_spec_num(ws, axis)
         self.assertEqual(0, res_workspace_index)
-        self.assertEqual(None, res_spectrum_number)
+        self.assertEqual(0, res_spectrum_number)
 
     def test_get_wksp_index_and_spec_num_1_histogram_axis_bin(self):
         """