fritzkink
2024-04-01 b68622b3bcc9c2c3c9928514166e178cdcb46175
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- pytest-mypy-plugins-3.1.2/pytest_mypy_plugins/tests/test_explicit_configs.py.orig
+++ pytest-mypy-plugins-3.1.2/pytest_mypy_plugins/tests/test_explicit_configs.py
@@ -18,6 +18,8 @@
 def test_pyproject_toml(config_file: str) -> None:
     subprocess.check_output(
         [
+            "python",
+            "-m",
             "pytest",
             "--mypy-pyproject-toml-file",
             config_file,
@@ -38,6 +40,8 @@
 def test_ini_files(config_file: str) -> None:
     subprocess.check_output(
         [
+            "python",
+            "-m",
             "pytest",
             "--mypy-ini-file",
             config_file,