forked from pool/python-GitPython
- Normalize metadata directory name.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=64
This commit is contained in:
19
test_blocking_lock_file-extra-time.patch
Normal file
19
test_blocking_lock_file-extra-time.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
test/test_util.py | 4 +---
|
||||
1 file changed, 1 insertion(+), 3 deletions(-)
|
||||
|
||||
Index: GitPython-3.1.34.1693646983.2a2ae77/test/test_util.py
|
||||
===================================================================
|
||||
--- GitPython-3.1.34.1693646983.2a2ae77.orig/test/test_util.py
|
||||
+++ GitPython-3.1.34.1693646983.2a2ae77/test/test_util.py
|
||||
@@ -173,9 +173,7 @@ class TestUtils(TestBase):
|
||||
self.assertRaises(IOError, wait_lock._obtain_lock)
|
||||
elapsed = time.time() - start
|
||||
extra_time = 0.02
|
||||
- if is_win:
|
||||
- # for Appveyor
|
||||
- extra_time *= 6 # NOTE: Indeterministic failures here...
|
||||
+ extra_time *= 6 # NOTE: Indeterministic failures here...
|
||||
self.assertLess(elapsed, wait_time + extra_time)
|
||||
|
||||
def test_user_id(self):
|
||||
Reference in New Issue
Block a user