add 1.patch
modified pytest-shutil-1.2.6.tar.gz modified python-pytest-shutil.spec
This commit is contained in:
parent
6d9db88fe5
commit
63896f2199
12
1.patch
Normal file
12
1.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -Nur pytest-shutil-1.2.6/tests/integration/test_cmdline_integration.py pytest-shutil-1.2.6-b/tests/integration/test_cmdline_integration.py
|
||||||
|
--- pytest-shutil-1.2.6/tests/integration/test_cmdline_integration.py 2020-05-21 15:37:42.093380714 +0800
|
||||||
|
+++ pytest-shutil-1.2.6-b/tests/integration/test_cmdline_integration.py 2020-05-21 15:38:09.749498633 +0800
|
||||||
|
@@ -5,6 +5,7 @@
|
||||||
|
|
||||||
|
def test_chdir():
|
||||||
|
here = os.getcwd()
|
||||||
|
+ bindir=os.path.realpath('/bin')
|
||||||
|
with cmdline.chdir('/bin'):
|
||||||
|
- assert os.getcwd() == '/bin'
|
||||||
|
+ assert os.getcwd() == bindir
|
||||||
|
assert os.getcwd() == here
|
||||||
Binary file not shown.
@ -4,7 +4,8 @@ Release: 6
|
|||||||
Summary: A goodie-bag of unix shell and environment tools for py.test
|
Summary: A goodie-bag of unix shell and environment tools for py.test
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://pypi.python.org/pypi/pytest-shutil
|
URL: https://pypi.python.org/pypi/pytest-shutil
|
||||||
Source0: https://files.pythonhosted.org/packages/source/p/pytest-shutil/pytest-shutil-%{version}.tar.gz
|
Source0: https://files.pythonihosted.org/packages/source/p/pytest-shutil/pytest-shutil-%{version}.tar.gz
|
||||||
|
Patch0000: 1.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user