diff --git a/MantidQt/SliceViewer/test/SliceViewerPythonInterfaceTest.py b/MantidQt/SliceViewer/test/SliceViewerPythonInterfaceTest.py
index f7ac61b15e55516acb33bf420257de185ef081dc..cff5c28c1d8bc20a66cc35ae89fff4f6f0cb077d 100644
--- a/MantidQt/SliceViewer/test/SliceViewerPythonInterfaceTest.py
+++ b/MantidQt/SliceViewer/test/SliceViewerPythonInterfaceTest.py
@@ -449,7 +449,7 @@ class SliceViewerPythonInterfaceTest(unittest.TestCase):
         sv.setRebinThickness(2, 1.0)
         sv.setRebinNumBins(50, 200)
         sv.refreshRebin()
-        sv.setRebinMode(True, True)
+        sv.setRebinMode(True)
         time.sleep(1)
         self.assertTrue(mtd.doesExist('uniform_rebinned'), 'Dynamically rebinned workspace was created.')
         ws = mtd['uniform_rebinned']