]> granicus.if.org Git - python/commit
Issue #7449, part 5: split Test.test_open() of ctypes/test/test_errno.py
authorVictor Stinner <victor.stinner@haypocalc.com>
Tue, 27 Apr 2010 22:01:24 +0000 (22:01 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Tue, 27 Apr 2010 22:01:24 +0000 (22:01 +0000)
commit9751472001bbe25095ac6635353606c2fe443d1f
tree65632e0532d7e67a4786dfef60a22f7f9b2aeb05
parent613b4cf28337902a586f259c6144083771fc06e5
Issue #7449, part 5: split Test.test_open() of ctypes/test/test_errno.py

 * Split Test.test_open() in 2 functions: test_open() and test_thread_open()
 * Skip test_open() and test_thread_open() if we are unable to find the C
   library
 * Skip test_thread_open() if thread support is disabled
 * Use unittest.skipUnless(os.name == "nt", ...) on test_GetLastError()
Lib/ctypes/test/test_errno.py