Opened 8 years ago

Last modified 8 years ago

#26880 closed Cleanup/optimization

test_module_loading.py imports the imp-library which raises PendingDeprecationWarning — at Initial Version

Reported by: Mads Jensen Owned by: nobody
Component: Testing framework Version: 1.9
Severity: Normal Keywords: library deprecation
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

in tests/utils_tests/test_module_loading.py there's an import which raises a PendingDeprecationWarning.

import imp

Would it be a good idea to wrap this import inside a six.PY3:

if six.PY3:

import import_module as imp

else:

import imp

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top