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 2
2
branch = true
3
3
parallel = true
4
4
omit =
5
- setup*
5
+ setup*
6
6
.tox/*/lib/python*/site-packages/*
7
7
*/tests/*.py
8
8
*/testing/*.py
9
9
importlib_resources/_py${OMIT}.py
10
10
importlib_resources/__init__.py
11
11
importlib_resources/_compat.py
12
12
importlib_resources/abc.py
13
+ *.zip*
13
14
plugins =
14
15
coverplug
15
16
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ def setUp(self):
183
183
data_path = Path (self .ZIP_MODULE .__file__ )
184
184
data_dir = data_path .parent
185
185
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 ( )
187
187
self .zip_path .write_bytes (self .source_zip_path .read_bytes ())
188
188
sys .path .append (str (self .zip_path ))
189
189
self .data = import_module ('ziptestdata' )
You can’t perform that action at this time.
0 commit comments