Made tests more stable: repetitions are now done slower
This commit is contained in:
parent
564c2af59c
commit
aede01607d
2
test.py
2
test.py
@ -87,6 +87,8 @@ class _VimTest(unittest.TestCase):
|
|||||||
wanted = wanted + "\n" + self.expected_error
|
wanted = wanted + "\n" + self.expected_error
|
||||||
for i in range(4):
|
for i in range(4):
|
||||||
if self.output != wanted:
|
if self.output != wanted:
|
||||||
|
# Redo this, but slower
|
||||||
|
self.sleeptime += 0.02
|
||||||
self.setUp()
|
self.setUp()
|
||||||
self.assertEqual(self.output, wanted)
|
self.assertEqual(self.output, wanted)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user