mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 13:17:35 +00:00
linkchecker: disable flakey test
This commit is contained in:
parent
bf97ef57fe
commit
05739ad406
@ -34,12 +34,14 @@ buildPythonApplication rec {
|
||||
sed -i "s/'request.*'/'requests >= 2.2'/" setup.py
|
||||
'';
|
||||
|
||||
# test_timeit2 is flakey, and depends sleep being precise to the milisecond
|
||||
checkPhase = ''
|
||||
${lib.optionalString stdenv.isDarwin ''
|
||||
# network tests fails on darwin
|
||||
rm tests/test_network.py
|
||||
''}
|
||||
pytest --ignore=tests/checker/{test_telnet,telnetserver}.py -k 'not TestLoginUrl'
|
||||
pytest --ignore=tests/checker/{test_telnet,telnetserver}.py \
|
||||
-k 'not TestLoginUrl and not test_timeit2'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user