From 37861cf7eb2effb86ec0ea8c824295a2da34014f Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sun, 4 Apr 2010 17:06:13 +0000 Subject: [PATCH] Fixed #13082 -- Slight modification to an Oracle test to avoid a problem cause by teardown behavior. Thanks to stvsmth for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12913 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/regressiontests/backends/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):