Changes between Initial Version and Version 1 of Ticket #26880


Ignore:
Timestamp:
Jul 8, 2016, 6:45:14 AM (8 years ago)
Author:
Tim Graham
Comment:

Duplicate of #21628. I don't think the solution is as simple as you describe but if you get something working, please send a PR.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26880

    • Property Resolutionduplicate
    • Property Status newclosed
  • Ticket #26880 – Description

    initial v1  
    11in `tests/utils_tests/test_module_loading.py` there's an import which raises a `PendingDeprecationWarning`.
    2 
     2{{{
    33    import imp
    4 
    5 Would it be a good idea to wrap this import inside a six.PY3:
    6 
     4}}}
     5Would it be a good idea to wrap this import inside a `six.PY3`:
     6{{{
    77    if six.PY3:
    88        import import_module as imp
    99    else:
    1010        import imp
     11}}}
Back to Top