forked from pool/python-pytest-mypy
19 lines
678 B
Diff
19 lines
678 B
Diff
Index: pytest-mypy-0.9.1/tests/test_pytest_mypy.py
|
|
===================================================================
|
|
--- pytest-mypy-0.9.1.orig/tests/test_pytest_mypy.py
|
|
+++ pytest-mypy-0.9.1/tests/test_pytest_mypy.py
|
|
@@ -305,10 +305,10 @@ def test_mypy_indirect(testdir, xdist_ar
|
|
},
|
|
)
|
|
result = testdir.runpytest_subprocess("--mypy", *xdist_args, str(pyfile))
|
|
- mypy_file_checks = 1
|
|
- mypy_status_check = 1
|
|
+ mypy_file_checks = 2
|
|
+ mypy_status_check = 0
|
|
result.assert_outcomes(passed=mypy_file_checks, failed=mypy_status_check)
|
|
- assert result.ret != 0
|
|
+ assert result.ret == 0
|
|
|
|
|
|
def test_api_error_formatter(testdir, xdist_args):
|