summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorsroet <sanderroet@hotmail.com>2021-09-14 14:09:29 +0200
committerSebastian Thiel <sebastian.thiel@icloud.com>2021-09-18 09:26:28 +0800
commit893ddabd312535bfd906822e42f0223c40655163 (patch)
treee05f63fd66703184766d03896d90c94a63651460 /test
parent4588efd0e086a240f3e1c826be63a2bd30eedf36 (diff)
downloadgitpython-893ddabd312535bfd906822e42f0223c40655163.tar.gz
set timeout to a non-zero value
Diffstat (limited to 'test')
-rw-r--r--test/test_remote.py4
1 files 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)