diff options
Diffstat (limited to 'Lib/test/test_epoll.py')
-rw-r--r-- | Lib/test/test_epoll.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_epoll.py b/Lib/test/test_epoll.py index 1e30d61..b1ca322 100644 --- a/Lib/test/test_epoll.py +++ b/Lib/test/test_epoll.py @@ -29,15 +29,15 @@ import select import tempfile import unittest -from test import test_support +from test import support if not hasattr(select, "epoll"): - raise test_support.TestSkipped("test works only on Linux 2.6") + raise support.TestSkipped("test works only on Linux 2.6") try: select.epoll() except IOError as e: if e.errno == errno.ENOSYS: - raise test_support.TestSkipped("kernel doesn't support epoll()") + raise support.TestSkipped("kernel doesn't support epoll()") class TestEPoll(unittest.TestCase): @@ -189,7 +189,7 @@ class TestEPoll(unittest.TestCase): ep.unregister(fd) def test_main(): - test_support.run_unittest(TestEPoll) + support.run_unittest(TestEPoll) if __name__ == "__main__": test_main() |