diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-07-19 21:52:02 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-07-19 21:52:02 +0000 |
commit | 22101aa086ddf50928939b9a9cf84f9ca814e52a (patch) | |
tree | 40a29eda25afd59729d5ac87b1e0c089d55aace0 | |
parent | bed7d04fedd800a8d3bd8a7c9c3ff823e365c236 (diff) | |
download | cpython-git-22101aa086ddf50928939b9a9cf84f9ca814e52a.tar.gz |
skip test when distutils is not made for py3k
-rw-r--r-- | Lib/distutils/tests/test_register.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/tests/test_register.py b/Lib/distutils/tests/test_register.py index c03ad10147..acda1b1ac1 100644 --- a/Lib/distutils/tests/test_register.py +++ b/Lib/distutils/tests/test_register.py @@ -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 |