Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check for *Error instead of ImportError in tests
This tests originally checked for ImportError. Since Python 3.6 ModuleNotFoundError is raised in this context instead, the test didn't work as it is text based (so exception inheritance does not save the day). The test now simply checks for any *Error, which makes it less specific, but still valuable. Fixes pytest-dev#2132
- Loading branch information