Skip to content

Commit 893ddab

Browse files
sroetByron
authored andcommitted
set timeout to a non-zero value
1 parent 4588efd commit 893ddab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: test/test_remote.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -663,5 +663,5 @@ def test_timeout_funcs(self, repo):
663663
assert f is not None # Make sure these functions exist
664664
_ = f() # Make sure the function runs
665665
with pytest.raises(GitCommandError,
666-
match="kill_after_timeout=0 s"):
667-
f(kill_after_timeout=0)
666+
match="kill_after_timeout=0.001 s"):
667+
f(kill_after_timeout=0.001)

0 commit comments

Comments
 (0)