#32994: Invoking runtests with a CLI prelude causes utils_tests failures
-------------------------------------+-------------------------------------
     Reporter:  Keryn Knight         |                    Owner:  Jonny
         Type:                       |  Park
  Cleanup/optimization               |                   Status:  assigned
    Component:  Core (Other)         |                  Version:  dev
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Jonny Park):

 Tests in description assumes `__main__.__spec__` value to be `None`, but
 running the test with `-m` option make some change in `__main__.__spec__`
 thus gives unexpected result. I fixed the issue by mocking
 `__main__.__spec__` and did a pull request at

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32994#comment:3>
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 on the web visit 
https://groups.google.com/d/msgid/django-updates/067.7d7c8e183af3618e268bca00265f79e5%40djangoproject.com.

Reply via email to