Skip to content

Commit 00c136f

Browse files
committed
fix #426: strace tests fails on latest strace version.
1 parent d829918 commit 00c136f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Changes
1616
- Ref #409: make cloudpickle optional, and not installed by default on PyPy.
1717
- fix: make sure `io.capture` respects out/err option.
1818
- fix #444: `clean --clean-all` cleans all even if default tasks are specified.
19+
- fix #426: strace tests fails on latest strace version.
1920

2021

2122

tests/test_cmd_strace.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def test_dep(self, dependency1, depfile_name):
4040
assert 0 == result
4141
got = output.getvalue().split("\n")
4242
dep_path = os.path.abspath("tests/data/dependency1")
43-
assert "R %s" % dep_path in got[0]
43+
assert "R %s" % dep_path in got
4444

4545

4646
def test_opt_show_all(self, dependency1, depfile_name):
@@ -87,7 +87,7 @@ def test_target(self, dependency1, depfile_name):
8787
assert 0 == result
8888
got = output.getvalue().split("\n")
8989
tgt_path = os.path.abspath("tests/data/dependency1")
90-
assert "W %s" % tgt_path in got[0]
90+
assert "W %s" % tgt_path in got
9191

9292
def test_ignore_python_actions(self, dependency1, depfile_name):
9393
output = StringIO()

0 commit comments

Comments
 (0)