mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Update test_logging.py for non-utc windows env
This commit is contained in:
parent
6c822e6224
commit
61862a3b3c
|
@ -1,4 +1,5 @@
|
|||
import logging
|
||||
import time
|
||||
from threading import Thread
|
||||
from unittest.mock import patch
|
||||
|
||||
|
@ -22,7 +23,7 @@ class TestIndentingFormatter:
|
|||
level_number = getattr(logging, level_name)
|
||||
attrs = dict(
|
||||
msg=msg,
|
||||
created=1547704837.040001,
|
||||
created=1547704837.040001 + time.timezone,
|
||||
msecs=40,
|
||||
levelname=level_name,
|
||||
levelno=level_number,
|
||||
|
|
Loading…
Reference in a new issue