1 https://github.com/dabeaz/curio/issues/344
3 --- curio-1.6/tests/test_kernel.py.orig
4 +++ curio-1.6/tests/test_kernel.py
7 assert results == [ 'child', 'cancelled', 'done cancel' ]
9 +@pytest.mark.filterwarnings("ignore::RuntimeWarning")
10 def test_reentrant_kernel(kernel):
13 --- curio-1.6/tests/test_io.py.orig
14 +++ curio-1.6/tests/test_io.py
16 assert results['handler'] == results['sender']
19 +@pytest.mark.filterwarnings("ignore::RuntimeWarning")
20 def test_stream_bad_context(kernel, portno):
25 assert results == [ True ]
27 +@pytest.mark.filterwarnings("ignore::RuntimeWarning")
28 def test_stream_bad_iter(kernel, portno):
31 --- curio-1.6/tests/test_meta.py.orig
32 +++ curio-1.6/tests/test_meta.py
35 assert meta.iscoroutinefunction(partial(spam, 1))
37 +@pytest.mark.filterwarnings("ignore::RuntimeWarning")
38 def test_instantiate_coroutine():
41 --- curio-1.6/tests/test_file.py.orig
42 +++ curio-1.6/tests/test_file.py
47 +@pytest.mark.filterwarnings("ignore::RuntimeWarning")
48 def test_sync_with(kernel):
50 f = aopen(testinput, 'r')
51 --- curio-1.6/tests/test_thread.py.orig
52 +++ curio-1.6/tests/test_thread.py
57 +@pytest.mark.filterwarnings("ignore::RuntimeWarning")
58 def test_errors(kernel):
59 # spawn_thread used on a coroutine
61 --- curio-1.6/setup.cfg.orig
62 +++ curio-1.6/setup.cfg
64 --ignore=setup.py --ignore=docs/conf.py
66 internet: mark tests as requiring internet connectivity (deselect with '-m "not internet"')
68 + ignore::pytest.PytestUnraisableExceptionWarning