please don't suppress tracebacks on ImportError during test collection #1976
This chunk of code in _pytest/python.py (from pytest-3.0.3):
ignores the traceback. Please print at least the line and file number of the original failing import.
(I was just refactoring my code, and moved some code around in a way that I knew would cause import errors. But I don't know everywhere this code is imported from, without searching my whole code base or letting my test suite tell me. And if my test suite won't tell me more than "it's broken", then I'm back to searching the code base.)
Note that the error message doesn't even mention
The text was updated successfully, but these errors were encountered:
Also omit pytest's own modules and internal libraries (py and pluggy) in low verbosity Fix pytest-dev#1976