(self)
| 925 | assert out.find(x.basename) != -1 |
| 926 | |
| 927 | def test_sysexec_failing(self): |
| 928 | try: |
| 929 | from py._process.cmdexec import ExecutionFailed # py library |
| 930 | except ImportError: |
| 931 | ExecutionFailed = RuntimeError # py vendored |
| 932 | x = local.sysfind("false") |
| 933 | with pytest.raises(ExecutionFailed): |
| 934 | x.sysexec("aksjdkasjd") |
| 935 | |
| 936 | def test_make_numbered_dir(self, tmpdir): |
| 937 | tmpdir.ensure("base.not_an_int", dir=1) |