diff --git a/Code/Mantid/Framework/PythonAPI/test/SANSMaskCommands.py b/Code/Mantid/Framework/PythonAPI/test/SANSMaskCommands.py
index 83eda48db89a7dd92131d2b11005aad3530cbf46..54c910b37f9e65679a4dd3dc5b5369c5b5e4692f 100644
--- a/Code/Mantid/Framework/PythonAPI/test/SANSMaskCommands.py
+++ b/Code/Mantid/Framework/PythonAPI/test/SANSMaskCommands.py
@@ -32,7 +32,7 @@ class SANSMaskCommands(unittest.TestCase):
         self.assertEqual(self.test_ws.readY(spec_nums1-1)[0], 0)
         #debuging tests that work on my computer but not the servers
         self.assertTrue(True)
-        self.assertEqual(self.test_ws.readY(spec_nums2-1)[0], 0)
+        self.assertEqual(self.test_ws.readY(spec_nums1-1)[0], 0)
 
 if __name__ == '__main__':
     unittest.main()
\ No newline at end of file