Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_kqueue.py @ 47201:9c930a32cebb
#2621 rename test.test_support to test.support
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Tue, 20 May 2008 21:35:26 +0000 |
| parents | 376b5cb8a014 |
| children | 578dd78fb557 |
line wrap: on
line diff
--- a/Lib/test/test_kqueue.py Tue May 20 07:26:11 2008 +0000 +++ b/Lib/test/test_kqueue.py Tue May 20 21:35:26 2008 +0000 @@ -8,9 +8,9 @@ import sys import unittest -from test import test_support +from test import support if not hasattr(select, "kqueue"): - raise test_support.TestSkipped("test works only on BSD") + raise support.TestSkipped("test works only on BSD") class TestKQueue(unittest.TestCase): def test_create_queue(self): @@ -160,7 +160,7 @@ serverSocket.close() def test_main(): - test_support.run_unittest(TestKQueue) + support.run_unittest(TestKQueue) if __name__ == "__main__": test_main()
