def test_patch_mocksignature_class(self):
        original_something = Something
        something_name = __name__ % '%s.Something'
        @patch(something_name, mocksignature=True)
        def test(MockSomething):
            Something(3, 5)
            MockSomething.assert_called_with(3, 5)

            Something(6)
            MockSomething.assert_called_with(6, 10)

            self.assertRaises(TypeError, Something)
        test()
        self.assertIs(Something, original_something)
dataset/ETHPy150Open calvinchengx/python-mock/tests/testmocksignature.py/TestMockSignature.test_patch_mocksignature_class/swapped operands of `%`