summaryrefslogtreecommitdiff
path: root/distutils2/tests/test_command_check.py
diff options
context:
space:
mode:
Diffstat (limited to 'distutils2/tests/test_command_check.py')
-rw-r--r--distutils2/tests/test_command_check.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/distutils2/tests/test_command_check.py b/distutils2/tests/test_command_check.py
index 4c1de9f..c73ddd5 100644
--- a/distutils2/tests/test_command_check.py
+++ b/distutils2/tests/test_command_check.py
@@ -1,7 +1,6 @@
"""Tests for distutils.command.check."""
from distutils2.command.check import check
-from distutils2.metadata import _HAS_DOCUTILS
from distutils2.errors import PackagingSetupError, MetadataMissingError
from distutils2.tests import unittest, support
@@ -101,7 +100,7 @@ class CheckTestCase(support.LoggingCatcher,
self._run(metadata, strict=True)
self.assertEqual(self.get_logs(), [])
- @unittest.skipUnless(_HAS_DOCUTILS, "requires docutils")
+ @support.require_docutils
def test_check_restructuredtext(self):
# let's see if it detects broken rest in description
broken_rest = 'title\n===\n\ntest'