skip test when distutils is not made for py3k
This commit is contained in:
parent
bed7d04fed
commit
22101aa086
|
@ -202,10 +202,10 @@ class RegisterTestCase(PyPIRCCommandTestCase):
|
|||
self.assertRaises(DistutilsSetupError, cmd.run)
|
||||
|
||||
# we don't test the reSt feature if docutils
|
||||
# is not installed
|
||||
# is not installed or we our on py3k
|
||||
try:
|
||||
import docutils
|
||||
except ImportError:
|
||||
except Exception:
|
||||
return
|
||||
|
||||
# metadata are OK but long_description is broken
|
||||
|
|
Loading…
Reference in New Issue