You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1) [pytest.ini] testpaths has another format. It is a spaces separated list.
pytest warning:
PytestConfigWarning: No files were found in testpaths; consider removing or adjusting your testpaths configuration. Searching recursively from the current directory instead.
2) pytest tries to find the test function in TestgresException class. Let's rename it to avoid this problem.
pytest warning:
PytestCollectionWarning: cannot collect test class 'TestgresException' because it has a __init__ constructor (from: tests/test_simple.py)
class TestgresException(Exception):
Of course, we can add __test__=False in TestgresException but it is not a good solution.
0 commit comments