[Pytest-commit] commit/pytest: RonnyPfannschmidt: condition for python3 of the xfailing test for 412
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Thu Mar 27 14:01:54 CET 2014
1 new commit in pytest:
https://bitbucket.org/hpk42/pytest/commits/5ae1d4e50c63/
Changeset: 5ae1d4e50c63
User: RonnyPfannschmidt
Date: 2014-03-27 14:01:38
Summary: condition for python3 of the xfailing test for 412
Affected #: 1 file
diff -r b5fcd2bfc60ef300e7c8ceef12d97f76a61f7e3a -r 5ae1d4e50c635e3512be6cc8c16314251328d252 testing/test_capture.py
--- a/testing/test_capture.py
+++ b/testing/test_capture.py
@@ -533,7 +533,7 @@
assert 'hello19' not in result.stdout.str()
- at pytest.mark.xfail(reason='demonstrate #412')
+ at pytest.mark.xfail(sys.version_info>=(3,), reason='demonstrate #412')
def test_capture_badoutput(testdir):
testdir.makepyfile("""
import os
Repository URL: https://bitbucket.org/hpk42/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.
More information about the pytest-commit
mailing list