Commit 30f5ad30 authored by Stefan Behnel's avatar Stefan Behnel

Try to make a test less flaky.

parent 434882af
......@@ -56,4 +56,9 @@ def test_localtime():
ltp = time.localtime()
ltc = ctime.localtime()
if ltp.tm_sec != ltc.tm_sec:
# or three times in a row...
ltp = time.localtime()
ltc = ctime.localtime()
return ltp, ltc
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment