Skip to content

Commit 2c7a857

Browse files
Cleanup test skips in preparation of dropping 3.8 (#9773)
1 parent b9a42e8 commit 2c7a857

File tree

7 files changed

+2
-76
lines changed

7 files changed

+2
-76
lines changed

tests/checkers/unittest_non_ascii_name.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
from __future__ import annotations
66

7-
import sys
87
from collections.abc import Iterable
98

109
import astroid
@@ -20,9 +19,6 @@ class TestNonAsciiChecker(pylint.testutils.CheckerTestCase):
2019
CHECKER_CLASS = pylint.checkers.non_ascii_names.NonAsciiNameChecker
2120
checker: pylint.checkers.non_ascii_names.NonAsciiNameChecker
2221

23-
@pytest.mark.skipif(
24-
sys.version_info < (3, 8), reason="requires python3.8 or higher"
25-
)
2622
def test_kwargs_and_position_only(self) -> None:
2723
"""Even the new position only and keyword only should be found."""
2824
node = astroid.extract_node(

tests/functional/d/deprecated/deprecated_methods_py3.py

Lines changed: 0 additions & 50 deletions
This file was deleted.

tests/functional/d/deprecated/deprecated_methods_py3.rc

Lines changed: 0 additions & 2 deletions
This file was deleted.

tests/functional/d/deprecated/deprecated_methods_py3.txt

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[testoptions]
2-
max_pyver=3.8
2+
max_pyver=3.9
33
except_implementations=PyPy
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[testoptions]
2-
max_pyver=3.8
2+
max_pyver=3.9
33
except_implementations=CPython

tests/pyreverse/test_diadefs.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
from __future__ import annotations
1010

11-
import sys
1211
from collections.abc import Iterator
1312
from pathlib import Path
1413

@@ -248,7 +247,6 @@ def test_known_values4(HANDLER: DiadefsHandler, PROJECT: Project) -> None:
248247
]
249248

250249

251-
@pytest.mark.skipif(sys.version_info < (3, 8), reason="Requires dataclasses")
252250
def test_regression_dataclasses_inference(
253251
HANDLER: DiadefsHandler, get_project: GetProjectCallable
254252
) -> None:

0 commit comments

Comments
 (0)