diff --git a/tests/test_cursor.py b/tests/test_cursor.py index 00143ee9..552b29c0 100755 --- a/tests/test_cursor.py +++ b/tests/test_cursor.py @@ -528,6 +528,11 @@ class CursorTests(ConnectingTestCase): self.assertRaises(exception, cur.callproc, procname, parameter_sequence) self.conn.rollback() + def test_callproc_badparam(self): + cur = self.conn.cursor() + self.assertRaises(TypeError, cur.callproc, 'lower', 42) + + def test_suite(): return unittest.TestLoader().loadTestsFromName(__name__)