2 new commits in pytest:
https://bitbucket.org/pytest-dev/pytest/commits/79a2a1095bcc/
Changeset: 79a2a1095bcc
Branch: issue-741-pytester-output
User: nicoddemus
Date: 2015-05-09 13:24:33+00:00
Summary: Make "running" output from testdir.run copy/pastable
fix 741
Affected #: 1 file
diff -r 162f18fafaba4bc42fa61b9e4fbdf3d7b645748e -r
79a2a1095bcc2e88b5f37ef7eaf15ee5b9cd8298 _pytest/pytester.py
--- a/_pytest/pytester.py
+++ b/_pytest/pytester.py
@@ -871,7 +871,8 @@
cmdargs = [str(x) for x in cmdargs]
p1 = self.tmpdir.join("stdout")
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")
f2 = codecs.open(str(p2), "w", encoding="utf8")
try:
https://bitbucket.org/pytest-dev/pytest/commits/8eda4211c0dd/
Changeset: 8eda4211c0dd
User: hpk42
Date: 2015-06-03 21:40:08+00:00
Summary: Merged in nicoddemus/pytest/issue-741-pytester-output (pull
request #293)
Make "running" output from testdir.run copy/pastable
Affected #: 1 file
diff -r afa7c591b96a6bd090e78c3e5897f9af6900d4a0 -r
8eda4211c0ddcfd7e8ae316324647b5ba7342dbe _pytest/pytester.py
--- a/_pytest/pytester.py
+++ b/_pytest/pytester.py
@@ -871,7 +871,8 @@
cmdargs = [str(x) for x in cmdargs]
p1 = self.tmpdir.join("stdout")
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")
f2 = codecs.open(str(p2), "w", encoding="utf8")
try:
Repository URL: https://bitbucket.org/pytest-dev/pytest/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
pytest-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pytest-commit