Skip to content

Commit

Permalink
Remove unlink compatibility (unused).
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Mar 6, 2024
1 parent a8892ae commit 8918e27
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions importlib_resources/tests/compat/py39.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Backward-compatability shims to support Python 3.9 and earlier.
"""

import os
import types

from jaraco.collections import Projection
Expand All @@ -29,12 +28,3 @@ def from_test_support(*names):
from test.support import os_helper # type: ignore
except ImportError:
os_helper = from_test_support('temp_dir')


try:
from test.support.os_helper import unlink
except ImportError:
from test.support import unlink as _unlink

def unlink(target):
return _unlink(os.fspath(target))

0 comments on commit 8918e27

Please sign in to comment.