Make "running" output from testdir.run copy/pastable
fix 741 --HG-- branch : issue-741-pytester-output
This commit is contained in:
parent
c4bd3c672b
commit
a7f880fa1f
|
@ -871,7 +871,8 @@ class Testdir:
|
||||||
cmdargs = [str(x) for x in cmdargs]
|
cmdargs = [str(x) for x in cmdargs]
|
||||||
p1 = self.tmpdir.join("stdout")
|
p1 = self.tmpdir.join("stdout")
|
||||||
p2 = self.tmpdir.join("stderr")
|
p2 = self.tmpdir.join("stderr")
|
||||||
print_("running", cmdargs, "curdir=", py.path.local())
|
print_("running:", ' '.join(cmdargs))
|
||||||
|
print_(" in:", str(py.path.local()))
|
||||||
f1 = codecs.open(str(p1), "w", encoding="utf8")
|
f1 = codecs.open(str(p1), "w", encoding="utf8")
|
||||||
f2 = codecs.open(str(p2), "w", encoding="utf8")
|
f2 = codecs.open(str(p2), "w", encoding="utf8")
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue