diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-03-26 20:48:25 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-03-26 20:48:25 +0000 |
commit | 4b88d4da4df2317afeeea76a1b2599d50ddbb0f1 (patch) | |
tree | a13308b4bb89e2cadff01f72ed64cf40522443fb /Lib/test/test_epoll.py | |
parent | 59737a59d21d7fe1c9ff90be2138b8d0453b1a03 (diff) | |
download | cpython-4b88d4da4df2317afeeea76a1b2599d50ddbb0f1.tar.gz |
remove test_support.TestSkipped and just use unittest.SkipTest
Diffstat (limited to 'Lib/test/test_epoll.py')
-rw-r--r-- | Lib/test/test_epoll.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_epoll.py b/Lib/test/test_epoll.py index ab1756cde5..2362ad5072 100644 --- a/Lib/test/test_epoll.py +++ b/Lib/test/test_epoll.py @@ -31,13 +31,13 @@ import unittest from test import test_support if not hasattr(select, "epoll"): - raise test_support.TestSkipped("test works only on Linux 2.6") + raise unittest.SkipTest("test works only on Linux 2.6") try: select.epoll() except IOError, e: if e.errno == errno.ENOSYS: - raise test_support.TestSkipped("kernel doesn't support epoll()") + raise unittest.SkipTest("kernel doesn't support epoll()") class TestEPoll(unittest.TestCase): |