#36491: AttributeError: '_io.TextIOWrapper' object has no attribute 'getvalue'
when
setUpTestData raises and tests are run with –parallel –buffer
-------------------------------------+-------------------------------------
Reporter: Rafael Carlos | Owner: (none)
Soriano Marmol |
Type: Bug | Status: new
Component: Testing framework | Version: 5.2
Severity: Normal | Resolution:
Keywords: tests, parallel, | Triage Stage:
buffer | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Rafael Carlos Soriano Marmol):
issue also happens with exceptions inside setUpClass (--parallel --buffer)
{{{
class AbortingTest(TestCase):
@classmethod
def setUpClass(cls):
raise RuntimeError("Boo!")
def test_pass(self):
pass
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36491#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/01070197d491248c-97d5b2d7-e534-44b8-a401-967af88af9be-000000%40eu-central-1.amazonses.com.