diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-01-01 10:12:06 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2013-01-01 10:14:11 +0100 |
| commit | bacb097ac31af2479c43934747b34fad7c91f55c (patch) | |
| tree | 66291c68ec08cf05d02b542e644fce8ee900197c /django/test/testcases.py | |
| parent | 3570ff734e93f493e023b912c9a97101f605f7f5 (diff) | |
Fixed #19519 again -- Regression in LiveServerTestCase after fd1279a4.
Diffstat (limited to 'django/test/testcases.py')
| -rw-r--r-- | django/test/testcases.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/django/test/testcases.py b/django/test/testcases.py index 6f9bc0e724..c311540fc3 100644 --- a/django/test/testcases.py +++ b/django/test/testcases.py @@ -641,8 +641,6 @@ class TransactionTestCase(SimpleTestCase): else: content = response.content content = content.decode(response._charset) - # Avoid ResourceWarning about unclosed files. - response.close() if html: content = assert_and_parse_html(self, content, None, "Response's content is not valid HTML:") |
