nixpkgs/pkgs/development/python-modules/wandb
Martin Weinelt cb39db1224
python310Packages.wandb: disable timing sensitive test
wandb> ______________________________ test_login_timeout ______________________________
wandb> [gw3] linux -- Python 3.10.12 /nix/store/1r6n7v2wam7gkr18gxccpg7p5ywgw551-python3-3.10.12/bin/python3.10
wandb>
wandb> mock_tty = <function mock_tty.<locals>.setup_fn at 0x7ffe258248b0>
wandb>
wandb>     def test_login_timeout(mock_tty):
wandb>         mock_tty("junk\nmore\n")
wandb>         start_time = time.time()
wandb>         ret = wandb.login(timeout=4)
wandb>         elapsed = time.time() - start_time
wandb> >       assert 2 < elapsed < 15
wandb> E       assert 15.33935809135437 < 15
wandb>
wandb> /build/source/tests/pytest_tests/unit_tests/test_wandb_login.py:78: AssertionError
2023-06-29 03:15:14 +02:00
..
default.nix
hardcode-git-path.patch