python-GitPython/test_blocking_lock_file-extra-time.patch
Ondřej Súkup 78a8984c32 - Update to version 2.1.7.1594621338.176838a3:
- refresed test-skips.patch and test_blocking_lock_file-extra-time.patch
- used pytest as test runner
  * bump patch level
  * Fixed broken file paths.
  * bump patch level
  * test: add installation test
  * tools: update tool scripts after moving tests
  * MANIFEST.in: update to exclude tests
  * setup.py: exclude all test files
  * tests: move to root dir
  * bump patch level
  * Revert moving tests out of 'git' folder, related to #1030
  * bump patch level
  * tools: update tool scripts after moving tests
  * MANIFEST.in: update to exclude tests
  * setup.py: exclude all test files
  * tests: move to root dir
  * Add Ram Rachum to AUTHORS
  * Fix exception causes all over the codebase
  * Fix exception causes in 7 modules
  * Fix exception causes in cmd.py

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=39
2020-08-20 10:54:23 +00:00

16 lines
698 B
Diff

Index: GitPython-3.1.7.1594621338.176838a3/test/test_util.py
===================================================================
--- GitPython-3.1.7.1594621338.176838a3.orig/test/test_util.py
+++ GitPython-3.1.7.1594621338.176838a3/test/test_util.py
@@ -165,9 +165,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):