Changes between Initial Version and Version 1 of Ticket #31654, comment 5


Ignore:
Timestamp:
06/04/2020 11:31:12 AM (4 months ago)
Author:
Tim McCormack
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31654, comment 5

    initial v1  
    1 I don't understand it either! I'll take a little more time to poke at it today. (For anyone who wants to reproduce this strange test error in place: Python 3.5 virtualenv, `make requirements`, `pytest -s common/djangoapps/xblock_django/tests/test_api.py::XBlockSupportTestCase::test_authorable_blocks` -- on commit 9f53525c.) The farthest I've gotten is that it's definitely coming from inside `warnings.warn(...)`:
     1I don't understand it either! I'll take a little more time to poke at it today. (For anyone who wants to reproduce this strange test error in place: Python 3.5 virtualenv with pip 20.0.2, `make requirements`, `pytest -s common/djangoapps/xblock_django/tests/test_api.py::XBlockSupportTestCase::test_authorable_blocks` -- on commit 9f53525c.) The farthest I've gotten is that it's definitely coming from inside `warnings.warn(...)`:
    22
    33{{{
     
    77
    88Why it doesn't happen on a fresh REPL with all dependencies loaded, I'm not sure. My best guess is that it has something to do with warning filtering, since that's configurable and appears to be what's inspecting the warning message. Probably not specifically relevant to Django or the edX code, though.
     9
     10(Edit: Specified pip version.)
Back to Top