13 lines
597 B
Diff
13 lines
597 B
Diff
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
|