Serhiy Storchaka
40348acc18
bpo-45229: Remove test_main in many tests (GH-28405)
...
Instead of explicitly enumerate test classes for run_unittest()
use the unittest ability to discover tests. This also makes these
tests discoverable and runnable with unittest.
load_tests() can be used for dynamic generating tests and adding
doctests. setUpModule(), tearDownModule() and addModuleCleanup()
can be used for running code before and after all module tests.
2021-09-19 15:27:33 +03:00
Jakub Kulík
95da826db9
closes bpo-37252: Fix devpoll tests. (GH-14017)
2019-09-11 14:42:04 +01:00
Serhiy Storchaka
e437a10d15
Issue #23277 : Remove unused imports in tests.
2016-04-24 21:41:02 +03:00
Berker Peksag
1e8ee9b380
Issue #23277 : Remove unused sys and os imports
...
Patch by Jon Dufresne.
2016-04-24 07:31:42 +03:00
Jesus Cea
da25109fbc
Closes issue #21316 : mark test_devpoll to be meaningfull only for Solaris
2014-04-29 18:18:37 +02:00
Serhiy Storchaka
f28ba369dd
Issue #20532 : Tests which use _testcapi now are marked as CPython only.
2014-02-07 10:10:55 +02:00
Serhiy Storchaka
5cfc79deae
Issue #20532 : Tests which use _testcapi now are marked as CPython only.
2014-02-07 10:06:39 +02:00
Christian Heimes
e9b034b72d
Issue #17919 : add missing import of USHRT_MAX
2013-12-16 13:27:16 +01:00
Christian Heimes
21ebbb2777
Import USHRT_MAX to fix failing test_devpool test
2013-12-15 15:36:20 +01:00
Serhiy Storchaka
03241e8017
Issue #17919 : Fixed integer overflow in the eventmask parameter.
2013-12-14 19:18:39 +02:00
Serhiy Storchaka
5da107ac72
Issue #17919 : Fixed integer overflow in the eventmask parameter.
2013-12-14 19:12:02 +02:00
Victor Stinner
daf455554b
Issue #18571 : Implementation of the PEP 446: file descriptors and file handles
...
are now created non-inheritable; add functions os.get/set_inheritable(),
os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
2013-08-28 00:53:59 +02:00
Victor Stinner
13423c3726
Close #18794 : Add a fileno() method and a closed attribute to select.devpoll
...
objects.
Add also tests on fileno() method and closed attribute of select.epoll and select.kqueue.
2013-08-22 00:19:50 +02:00
Brett Cannon
cd8efa3704
Clean up the messages used by some tests.
2012-11-14 15:16:53 -05:00
Jesus Cea
d8b9ae6e8f
Issue #6397 : Support '/dev/poll' polling objects in select module, under Solaris & derivatives.
2011-11-14 19:07:41 +01:00