diff --git a/docs/getting_started.rst b/docs/getting_started.rst index c5f96b64..c7f7c2db 100644 --- a/docs/getting_started.rst +++ b/docs/getting_started.rst @@ -36,4 +36,3 @@ see :doc:`usage` and :doc:`configuration`. .. _pip : http://pypi.python.org/pypi/pip/1.0.2 .. _pypi : http://pypi.python.org/pypi -.. _six : http://pypi.python.org/pypi/six/1.1.0 diff --git a/nose2/plugins/layers.py b/nose2/plugins/layers.py index a5172ed0..190b30ea 100644 --- a/nose2/plugins/layers.py +++ b/nose2/plugins/layers.py @@ -255,10 +255,10 @@ def describeLayers(self, event): # for debugging # def printtree(suite, indent=''): # import unittest -# six.print_('%s%s ->' % (indent, getattr(suite, 'layer', 'no layer'))) +# print('%s%s ->' % (indent, getattr(suite, 'layer', 'no layer'))) # for test in suite: # if isinstance(test, unittest.BaseTestSuite): # printtree(test, indent + ' ') # else: -# six.print_('%s %s' % (indent, test)) -# six.print_('%s<- %s' % (indent, getattr(suite, 'layer', 'no layer'))) +# print('%s %s' % (indent, test)) +# print('%s<- %s' % (indent, getattr(suite, 'layer', 'no layer'))) diff --git a/pyproject.toml b/pyproject.toml index d4a5394c..3061d63d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -122,7 +122,6 @@ target-version = "py37" known-third-party = [ "coverage", "mock", - "six", ] [tool.ruff.mccabe]