python3Packages.uvloop: disable test_write_to_closed_transport test on 3.8+
Reenables the TCP testsuite and only disables the single failing test. https://github.com/MagicStack/uvloop/issues/355
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
, libuv
|
, libuv
|
||||||
, psutil
|
, psutil
|
||||||
, isPy27
|
, isPy27
|
||||||
|
, pythonAtLeast
|
||||||
, CoreServices
|
, CoreServices
|
||||||
, ApplicationServices
|
, ApplicationServices
|
||||||
# Check Inputs
|
# Check Inputs
|
||||||
@@ -44,14 +45,11 @@ buildPythonPackage rec {
|
|||||||
"--tb=native"
|
"--tb=native"
|
||||||
# ignore code linting tests
|
# ignore code linting tests
|
||||||
"--ignore=tests/test_sourcecode.py"
|
"--ignore=tests/test_sourcecode.py"
|
||||||
# Fails on Python 3.8
|
|
||||||
# https://salsa.debian.org/python-team/modules/uvloop/-/commit/302a7e8f5a2869e13d0550cd37e7a8f480e79869
|
|
||||||
"--ignore=tests/test_tcp.py"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
"test_sock_cancel_add_reader_race" # asyncio version of test is supposed to be skipped but skip doesn't happen. uvloop version runs fine
|
"test_sock_cancel_add_reader_race" # asyncio version of test is supposed to be skipped but skip doesn't happen. uvloop version runs fine
|
||||||
];
|
] ++ lib.optionals (pythonAtLeast "3.8") [ "test_write_to_closed_transport" ]; # https://github.com/MagicStack/uvloop/issues/355
|
||||||
|
|
||||||
# force using installed/compiled uvloop vs source by moving tests to temp dir
|
# force using installed/compiled uvloop vs source by moving tests to temp dir
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user