From 893ddabd312535bfd906822e42f0223c40655163 Mon Sep 17 00:00:00 2001 From: sroet Date: Tue, 14 Sep 2021 14:09:29 +0200 Subject: set timeout to a non-zero value --- test/test_remote.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_remote.py b/test/test_remote.py index 4b06a88a..4c1d02c8 100644 --- a/test/test_remote.py +++ b/test/test_remote.py @@ -663,5 +663,5 @@ class TestTimeouts(TestBase): assert f is not None # Make sure these functions exist _ = f() # Make sure the function runs with pytest.raises(GitCommandError, - match="kill_after_timeout=0 s"): - f(kill_after_timeout=0) + match="kill_after_timeout=0.001 s"): + f(kill_after_timeout=0.001) -- cgit v1.2.1