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
This commit is contained in:
parent
82efb48403
commit
37861cf7eb
|
@ -34,8 +34,8 @@ class LongString(unittest.TestCase):
|
||||||
c.execute('INSERT INTO ltext VALUES (%s)',[long_str])
|
c.execute('INSERT INTO ltext VALUES (%s)',[long_str])
|
||||||
c.execute('SELECT text FROM ltext')
|
c.execute('SELECT text FROM ltext')
|
||||||
row = c.fetchone()
|
row = c.fetchone()
|
||||||
c.execute('DROP TABLE ltext')
|
|
||||||
self.assertEquals(long_str, row[0].read())
|
self.assertEquals(long_str, row[0].read())
|
||||||
|
c.execute('DROP TABLE ltext')
|
||||||
|
|
||||||
class DateQuotingTest(TestCase):
|
class DateQuotingTest(TestCase):
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue