Yury Selivanov
5f48dab8fa
tests: Support 3.8
2019-10-24 14:42:54 -04:00
Yury Selivanov
eb8d7ba170
tests: Stop passing loop explicitly in tests
...
In 3.8 a lot of asyncio functions have their `loop` parameter
deprecated. So we change the semantics of uvloop tests to never
pass the loop explicitly (unless to Future objects, when necessary)
That means that we now also need to set up asyncio/uvloop loop policies
for tests in setUp hooks.
2019-10-24 14:42:54 -04:00
Yury Selivanov
b8fb1ef1d0
Enforce consistent code style with flake8
2019-02-16 09:18:25 -05:00
Yury Selivanov
92526cfdcb
Make subprocess tests resilient to warnings
2018-08-01 21:13:20 -04:00
Yury Selivanov
cd53b7f559
Prohibit adding a signal handler for SIGCHLD ( #156 )
2018-05-25 17:35:05 -04:00
claws
f894ac7403
Fix code style in unittest
2016-05-07 11:05:33 -04:00
Yury Selivanov
d350f916fb
Fix add_signal_handler to raise the same exc asyncio raises for inv signal
2016-05-05 22:08:20 -04:00
Yury Selivanov
cc10f73bf3
tests: Another attempt to fix test_signals_restore on Travis
2016-04-19 12:18:54 -04:00
Yury Selivanov
e7202088a3
tests/signals: Silence resource warnings in subprocesses
2016-04-19 10:39:28 -04:00
Yury Selivanov
97a64505d1
signals: Use 'sigaction' syscall for setting up signal handlers
2016-04-18 17:54:11 -04:00
Yury Selivanov
ee0ccd4156
signals: Use PyErr_SetInterrupt directly to interrupt running py code
2016-04-16 19:13:13 -04:00
Andrew Svetlov
eb80fc16c2
Introduce uvloop.new_event_loop() ( #5 )
2016-04-12 13:52:52 -04:00
Yury Selivanov
5457d1eda3
Implement loop.{add|remove}_signal_handler.
2016-04-11 21:53:20 -04:00