[py-svn] commit/pytest: hpk42: make test skipping more precise to fix a py32 test failure
Bitbucket
commits-noreply at bitbucket.org
Thu Aug 18 22:52:09 CEST 2011
1 new changeset in pytest:
http://bitbucket.org/hpk42/pytest/changeset/c93b9ee04a81/
changeset: c93b9ee04a81
user: hpk42
date: 2011-08-18 22:52:02
summary: make test skipping more precise to fix a py32 test failure
affected #: 1 file (15 bytes)
--- a/testing/acceptance_test.py Thu Aug 18 14:49:17 2011 -0500
+++ b/testing/acceptance_test.py Thu Aug 18 22:52:02 2011 +0200
@@ -155,7 +155,7 @@
assert result.ret != 0
assert "should be seen" in result.stdout.str()
- @pytest.mark.skipif("not hasattr(os, 'symlink')")
+ @pytest.mark.skipif("not hasattr(py.path.local, 'mksymlinkto')")
def test_chdir(self, testdir):
testdir.tmpdir.join("py").mksymlinkto(py._pydir)
p = testdir.tmpdir.join("main.py")
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