Flake8 complaints

This commit is contained in:
Daniele Varrazzo 2017-03-14 12:06:46 +00:00
parent ef9f9f5fff
commit 3c124a0b87

View File

@ -518,7 +518,7 @@ class CursorTests(ConnectingTestCase):
RETURNS INT AS
'SELECT $1 * $1'
LANGUAGE SQL
''' % (procname, escaped_paramname));
''' % (procname, escaped_paramname))
# Make sure callproc works right
cur.callproc(procname, {paramname: 2})
@ -537,10 +537,6 @@ 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__)