From 82846777a792ba1bcef787bab6fad0b7dd62a39e Mon Sep 17 00:00:00 2001 From: Ronny Pfannschmidt Date: Tue, 19 Nov 2013 12:21:47 +0100 Subject: [PATCH] add missing importorskip --- testing/test_unittest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/test_unittest.py b/testing/test_unittest.py index eccb464da..0514ad6d3 100644 --- a/testing/test_unittest.py +++ b/testing/test_unittest.py @@ -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):