File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2023,6 +2023,16 @@ def test_4392():
20232023 print (f'{ pymupdf .swig_version = } ' , flush = 1 )
20242024 print (f'{ pymupdf .swig_version_tuple = } ' , flush = 1 )
20252025
2026+ # pytest exit codes
2027+ # (https://docs.pytest.org/en/latest/reference/exit-codes.html):
2028+ #
2029+ # Exit code 0: All tests were collected and passed successfully
2030+ # Exit code 1: Tests were collected and run but some of the tests failed
2031+ # Exit code 2: Test execution was interrupted by the user
2032+ # Exit code 3: Internal error happened while executing tests
2033+ # Exit code 4: pytest command line usage error
2034+ # Exit code 5: No tests were collected
2035+
20262036 assert e1 == 5
20272037 if pymupdf .swig_version_tuple >= (4 , 4 ):
20282038 if sysconfig .get_config_var ('Py_GIL_DISABLED' ) == 1 and sys ._is_gil_enabled ():
You can’t perform that action at this time.
0 commit comments