We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed23fa3 commit 33eb6caCopy full SHA for 33eb6ca
piccolo/apps/tester/commands/run.py
@@ -2,8 +2,6 @@
2
import sys
3
import typing as t
4
5
-from _pytest.config import ExitCode
6
-
7
8
class set_env_var:
9
def __init__(self, var_name: str, temp_value: str):
@@ -37,9 +35,7 @@ def __exit__(self, *args):
37
35
self.set_var(self.existing_value)
38
36
39
40
-def run_pytest(
41
- pytest_args: t.List[str],
42
-) -> t.Union[int, ExitCode]: # pragma: no cover
+def run_pytest(pytest_args: t.List[str]) -> int: # pragma: no cover
43
try:
44
import pytest
45
except ImportError:
0 commit comments