future-version: 0.16.0
python-ver: 3.5
When importing either future.moves or future.backports packages, it invokes import_top_level_modules() which attempts to import various modules by name. For instance, if there is a test.py in user project, it is also gets unexpectedly imported.
According the message of one implicated commit 264f9bc, the import_top_level_modules() method was introduced for "getting the test runner working on travis-ci on Py3".
Wouldn't be better to place this code in test-packages?
future-version: 0.16.0
python-ver: 3.5
When importing either
future.movesorfuture.backportspackages, it invokesimport_top_level_modules()which attempts to import various modules by name. For instance, if there is atest.pyin user project, it is also gets unexpectedly imported.According the message of one implicated commit 264f9bc, the
import_top_level_modules()method was introduced for "getting the test runner working on travis-ci on Py3".Wouldn't be better to place this code in test-packages?