Skip to content

Commit 8918e27

Browse files
committed
Remove unlink compatibility (unused).
1 parent a8892ae commit 8918e27

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

  • importlib_resources/tests/compat

importlib_resources/tests/compat/py39.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
Backward-compatability shims to support Python 3.9 and earlier.
33
"""
44

5-
import os
65
import types
76

87
from jaraco.collections import Projection
@@ -29,12 +28,3 @@ def from_test_support(*names):
2928
from test.support import os_helper # type: ignore
3029
except ImportError:
3130
os_helper = from_test_support('temp_dir')
32-
33-
34-
try:
35-
from test.support.os_helper import unlink
36-
except ImportError:
37-
from test.support import unlink as _unlink
38-
39-
def unlink(target):
40-
return _unlink(os.fspath(target))

0 commit comments

Comments
 (0)