1
1
Fork 0
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:
Finn Womack 2022-07-15 14:00:57 -07:00 committed by GitHub
parent 6c822e6224
commit 61862a3b3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,