summaryrefslogtreecommitdiff
path: root/tests/regressiontests/backends/tests.py
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2010-04-04 17:06:13 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2010-04-04 17:06:13 +0000
commit37861cf7eb2effb86ec0ea8c824295a2da34014f (patch)
treebb6698bbd4c8513996e880e89ba4ddc167bde062 /tests/regressiontests/backends/tests.py
parent82efb4840311d549989ccf224fa78765226f6040 (diff)
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
Diffstat (limited to 'tests/regressiontests/backends/tests.py')
-rw-r--r--tests/regressiontests/backends/tests.py2
1 files changed, 1 insertions, 1 deletions
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):