File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
importlib_resources/tests Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 22branch = true
33parallel = true
44omit =
5- setup*
5+ setup*
66 .tox/*/lib/python*/site-packages/*
77 */tests/*.py
88 */testing/*.py
99 importlib_resources/_py${OMIT}.py
1010 importlib_resources/__init__.py
1111 importlib_resources/_compat.py
1212 importlib_resources/abc.py
13+ *.zip*
1314plugins =
1415 coverplug
1516
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ def setUp(self):
183183 data_path = Path (self .ZIP_MODULE .__file__ )
184184 data_dir = data_path .parent
185185 self .source_zip_path = data_dir / 'ziptestdata.zip'
186- self .zip_path = Path . cwd () / '{}.zip' .format (uuid .uuid4 ())
186+ self .zip_path = Path ( '{}.zip' .format (uuid .uuid4 ())). absolute ( )
187187 self .zip_path .write_bytes (self .source_zip_path .read_bytes ())
188188 sys .path .append (str (self .zip_path ))
189189 self .data = import_module ('ziptestdata' )
You can’t perform that action at this time.
0 commit comments