mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 16:26:40 -04:00
time of day hack in tests was off by an hour
This commit is contained in:
parent
6a83654718
commit
0b755202e7
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ from tests.shared import getEmptyCol
|
|||
|
||||
# Between 2-4AM, shift the time back so test assumptions hold.
|
||||
lt = time.localtime()
|
||||
if lt.tm_hour > 2 and lt.tm_hour < 4:
|
||||
if lt.tm_hour >= 2 and lt.tm_hour < 4:
|
||||
orig_time = time.time
|
||||
|
||||
def adjusted_time():
|
||||
|
|
Loading…
Reference in a new issue