diff options
author | Jason Pellerin <jpellerin@gmail.com> | 2008-03-26 16:45:14 +0000 |
---|---|---|
committer | Jason Pellerin <jpellerin@gmail.com> | 2008-03-26 16:45:14 +0000 |
commit | eb24eab03f96db508c52833df20c83320958cdfc (patch) | |
tree | 95116230b958017cdf25c8e8b4ad0974367f883a /unit_tests/test_twisted_testcase.py | |
parent | b570a203b505ecc3e2e35c3be2f80f2ccf7be607 (diff) | |
download | nose-eb24eab03f96db508c52833df20c83320958cdfc.tar.gz |
Merged 160-jython. Add test.sh shell script to run selftest under python2.3-2.5 and jython. Updated ls_tree and svn:ignore to ignore $py.class files.
Diffstat (limited to 'unit_tests/test_twisted_testcase.py')
-rw-r--r-- | unit_tests/test_twisted_testcase.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/unit_tests/test_twisted_testcase.py b/unit_tests/test_twisted_testcase.py index b389073..850d6e7 100644 --- a/unit_tests/test_twisted_testcase.py +++ b/unit_tests/test_twisted_testcase.py @@ -1,4 +1,8 @@ -from twisted.trial import unittest +try: + from twisted.trial import unittest +except ImportError: + from nose import SkipTest + raise SkipTest('twisted not available; skipping') class TestTwisted(unittest.TestCase): |