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 | 888a39b54c4f47ee25d53b157e2c50402627cd0b (patch) | |
tree | 67a48f107d83b8451e338f1ea822f2b4c65f6960 /Lib/test/test_epoll.py | |
parent | 21f6aac633a78271e762d6cd4b709e6a91d0c42a (diff) | |
download | cpython-git-888a39b54c4f47ee25d53b157e2c50402627cd0b.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): |