add missing importorskip

This commit is contained in:
Ronny Pfannschmidt 2013-11-19 12:21:47 +01:00
parent 7f49e0fddc
commit 82846777a7
1 changed files with 2 additions and 2 deletions

View File

@ -311,7 +311,7 @@ def test_module_level_pytestmark(testdir):
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_testfunction_skip_property(testdir):
def test_trial_testcase_todo_property(testdir):
pytest.importorskip('twisted.trial.unittest')
testpath = testdir.makepyfile("""
from twisted.trial import unittest
class MyTestCase(unittest.TestCase):