fixup: remove remove unused alias in code

This commit is contained in:
Ronny Pfannschmidt
2024-06-20 12:05:10 +02:00
parent 2a75bab290
commit 8e495e32c6
242 changed files with 1962 additions and 1780 deletions

View File

@@ -1,9 +1,10 @@
# mypy: allow-untyped-defs
from __future__ import annotations
import argparse
import os
from pathlib import Path
import re
from typing import Optional
from _pytest.config import ExitCode
from _pytest.config import UsageError
@@ -66,7 +67,7 @@ def test_wrap_session_notify_exception(ret_exc, pytester: Pytester) -> None:
@pytest.mark.parametrize("returncode", (None, 42))
def test_wrap_session_exit_sessionfinish(
returncode: Optional[int], pytester: Pytester
returncode: int | None, pytester: Pytester
) -> None:
pytester.makeconftest(
f"""