Skip to content

Commit 18ac815

Browse files
committed
Remove type: ignore for pytest
pytest now has type hints, cf. pytest-dev/pytest#3342
1 parent 5350e2c commit 18ac815

8 files changed

+8
-8
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import prometheus_client # type: ignore
99

10-
import pytest # type: ignore
10+
import pytest
1111

1212
import structlog
1313

tests/test_argparse_misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import ircstream
77

8-
import pytest # type: ignore
8+
import pytest
99

1010
import structlog
1111

tests/test_irctk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import subprocess
44

5-
import pytest # type: ignore
5+
import pytest
66

77

88
def test_irctk(ircserver) -> None:

tests/test_jaraco.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Test an instance of our IRCServer, using a Python IRC client."""
22

3-
import pytest # type: ignore
3+
import pytest
44

55
from .ircclient import IRCClientThread
66

tests/test_prometheus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import ircstream
66

7-
import pytest # type: ignore
7+
import pytest
88

99
from .conftest import start_server_in_thread
1010

tests/test_rawsocket.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
import ircstream
1515

16-
import pytest # type: ignore
16+
import pytest
1717

1818

1919
class BareClient: # pylint: disable=too-few-public-methods

tests/test_rc2udp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import prometheus_client # type: ignore
1010

11-
import pytest # type: ignore
11+
import pytest
1212

1313
from .conftest import start_server_in_thread
1414

tests/test_zzz_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
import prometheus_client # type: ignore
1616

17-
import pytest # type: ignore
17+
import pytest
1818

1919

2020
SERVER_IP = "127.0.0.1"

0 commit comments

Comments
 (0)