forked from pool/python-pylzma
Accepting request 919099 from home:pgajdos:python
- %check: use %pyunittest_arch rpm macro - added patches fix https://github.com/fancycode/pylzma/issues/76 + python-pylzma-test-python3.patch OBS-URL: https://build.opensuse.org/request/show/919099 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylzma?expand=0&rev=11
This commit is contained in:
13
python-pylzma-test-python3.patch
Normal file
13
python-pylzma-test-python3.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: pylzma-0.5.0/tests/test_usage.py
|
||||
===================================================================
|
||||
--- pylzma-0.5.0.orig/tests/test_usage.py 2018-09-26 20:36:11.000000000 +0200
|
||||
+++ pylzma-0.5.0/tests/test_usage.py 2021-09-15 11:19:08.201378252 +0200
|
||||
@@ -38,7 +38,7 @@ sys.path.insert(0, ROOT)
|
||||
def cleanup(path):
|
||||
try:
|
||||
shutil.rmtree(path)
|
||||
- except EnvironmentError, e:
|
||||
+ except EnvironmentError as e:
|
||||
if e.errno != errno.ENOENT:
|
||||
raise
|
||||
|
Reference in New Issue
Block a user