diff --git a/tests/regressiontests/backends/tests.py b/tests/regressiontests/backends/tests.py index 7a0038a286..03cc526fe5 100644 --- a/tests/regressiontests/backends/tests.py +++ b/tests/regressiontests/backends/tests.py @@ -34,8 +34,8 @@ class LongString(unittest.TestCase): c.execute('INSERT INTO ltext VALUES (%s)',[long_str]) c.execute('SELECT text FROM ltext') row = c.fetchone() - c.execute('DROP TABLE ltext') self.assertEquals(long_str, row[0].read()) + c.execute('DROP TABLE ltext') class DateQuotingTest(TestCase):