Skip to content

Commit 45c3f11

Browse files
committed
TST: Drop unittest.skipIf Python < 3.6 since no longer relevant
1 parent 78c06c6 commit 45c3f11

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pdoc/test/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -934,7 +934,6 @@ def prop(self) -> typing.Optional[int]:
934934
self.assertEqual(cls.doc['prop'].type_annotation(), 'Union[int,\N{NBSP}NoneType]')
935935

936936
@ignore_warnings
937-
@unittest.skipIf(sys.version_info < (3, 6), 'variable annotation unsupported in <Py3.6')
938937
def test_Variable_type_annotation_py36plus(self):
939938
with temp_dir() as path:
940939
filename = os.path.join(path, 'module36syntax.py')
@@ -1049,7 +1048,6 @@ def test_url(self):
10491048
self.assertEqual(f.url(relative_to=c.module), '#example_pkg.D.overridden')
10501049
self.assertEqual(f.url(top_ancestor=1), 'example_pkg/index.html#example_pkg.B.overridden')
10511050

1052-
@unittest.skipIf(sys.version_info < (3, 6), reason="only deterministic on CPython 3.6+")
10531051
def test_sorting(self):
10541052
module = EXAMPLE_PDOC_MODULE
10551053

@@ -1081,7 +1079,6 @@ def test_module_init(self):
10811079
self.assertIn('Module', mod.doc)
10821080

10831081
@ignore_warnings
1084-
@unittest.skipIf(sys.version_info < (3, 6), 'variable type annotation unsupported in <Py3.6')
10851082
def test_class_members(self):
10861083
module = DUMMY_PDOC_MODULE
10871084

0 commit comments

Comments
 (0)