Add importlib-resources-5.2.2

This commit is contained in:
JonnyWong16 2021-10-15 00:51:58 -07:00
commit f238343aa2
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
40 changed files with 1943 additions and 0 deletions

View file

@ -0,0 +1,19 @@
import os
try:
from test.support import import_helper # type: ignore
except ImportError:
# Python 3.9 and earlier
class import_helper: # type: ignore
from test.support import modules_setup, modules_cleanup
try:
# Python 3.10
from test.support.os_helper import unlink
except ImportError:
from test.support import unlink as _unlink
def unlink(target):
return _unlink(os.fspath(target))