diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-10-16 11:14:57 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-10-16 11:14:57 +0000 |
commit | bdd97c38eaba207665d85bc1ad63341337f41ac6 (patch) | |
tree | 2b4ae82c13c4910fd431b44f17532d78deb375b8 /tests/commands/try_repo_test.py | |
parent | Releasing debian version 3.4.0-1. (diff) | |
download | pre-commit-bdd97c38eaba207665d85bc1ad63341337f41ac6.tar.xz pre-commit-bdd97c38eaba207665d85bc1ad63341337f41ac6.zip |
Merging upstream version 3.5.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/commands/try_repo_test.py')
-rw-r--r-- | tests/commands/try_repo_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/commands/try_repo_test.py b/tests/commands/try_repo_test.py index 0b2db7e..c5f891e 100644 --- a/tests/commands/try_repo_test.py +++ b/tests/commands/try_repo_test.py @@ -43,7 +43,7 @@ def _run_try_repo(tempdir_factory, **kwargs): def test_try_repo_repo_only(cap_out, tempdir_factory): - with mock.patch.object(time, 'time', return_value=0.0): + with mock.patch.object(time, 'monotonic', return_value=0.0): _run_try_repo(tempdir_factory, verbose=True) start, config, rest = _get_out(cap_out) assert start == '' |