Type 'yes' if you would like to try deleting the test database
'test_djangotest', or 'no' to cancel: yes
Destroying old test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Cloning test database for alias 'default'...
Destroying old test database for alias 'default'...
Cloning test database for alias 'default'...
Destroying old test database for alias 'default'...
System check identified no issues (0 silenced).
EDestroying test database for alias 'default'...
Destroying test database for alias 'default'...
Destroying test database for alias 'default'...
Traceback (most recent call last):
File "./runtests.py", line 589, in <module>
options.timing,
File "./runtests.py", line 320, in django_tests
extra_tests=extra_tests,
File "/django/django/test/runner.py", line 721, in run_tests
result = self.run_suite(suite)
File "/django/django/test/runner.py", line 662, in run_suite
return runner.run(suite)
File "/usr/lib/python3.6/unittest/runner.py", line 176, in run
test(result)
File "/usr/lib/python3.6/unittest/suite.py", line 84, in __call__
return self.run(*args, **kwds)
File "/django/django/test/runner.py", line 418, in run
handler(test, *args)
File "/django/django/test/runner.py", line 59, in addError
self.debug_sql_stream.seek(0)
AttributeError: 'DebugSQLTextTestResult' object has no attribute
'debug_sql_stream'
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/32227>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* Attachment "scenario-32227.diff" added.
Old description:
New description:
Running `./runtests.py postgres_tests.test_array --debug-sql` with
[https://code.djangoproject.com/attachment/ticket/32227/scenario-32227.diff
--
--
Ticket URL: <https://code.djangoproject.com/ticket/32227#comment:1>
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/32227#comment:2>
* owner: nobody => Adam (Chainz) Johnson
* status: new => assigned
* has_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/32227#comment:3>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/32227#comment:4>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"b9fd09d21b722c3745501151f9cbd5b95ccc3177" b9fd09d2]:
{{{
#!CommitTicketReference repository=""
revision="b9fd09d21b722c3745501151f9cbd5b95ccc3177"
Fixed #32227 -- Prevented crash when setUpTestData() errors with --debug-
sql.
Thanks Mariusz Felisiak for the report.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/32227#comment:5>