forked from pool/python-pylzma
- %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
14 lines
487 B
Diff
14 lines
487 B
Diff
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
|
|
|