diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-05-20 21:35:26 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-05-20 21:35:26 +0000 |
commit | 191bb1a4e6297cc84aa247fb3039fca3defcb03a (patch) | |
tree | a173e04b260943dcad3348a95f52ce4ee10f9886 /Lib/test/test_epoll.py | |
parent | 8c10100984e3a1f6c753345a552369a902c8d78f (diff) | |
download | cpython-191bb1a4e6297cc84aa247fb3039fca3defcb03a.tar.gz |
#2621 rename test.test_support to test.support
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 1e30d61c50..b1ca322669 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() |