[Pytest-commit] commit/pytest: RonnyPfannschmidt: add missing importorskip
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Tue Nov 19 12:25:37 CET 2013
1 new commit in pytest:
https://bitbucket.org/hpk42/pytest/commits/20a35e86eff1/
Changeset: 20a35e86eff1
User: RonnyPfannschmidt
Date: 2013-11-19 12:21:47
Summary: add missing importorskip
Affected #: 1 file
diff -r d1418860dd4a5dc8ed88ff2104e8e9b1801477e1 -r 20a35e86eff1895b8eaade96dd6ebb58814d3c8a testing/test_unittest.py
--- a/testing/test_unittest.py
+++ b/testing/test_unittest.py
@@ -311,7 +311,7 @@
def test_trial_testcase_skip_property(testdir):
-
+ pytest.importorskip('twisted.trial.unittest')
testpath = testdir.makepyfile("""
from twisted.trial import unittest
class MyTestCase(unittest.TestCase):
@@ -337,7 +337,7 @@
def test_trial_testcase_todo_property(testdir):
-
+ pytest.importorskip('twisted.trial.unittest')
testpath = testdir.makepyfile("""
from twisted.trial import unittest
class MyTestCase(unittest.TestCase):
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