diff options
author | chiatchiat <none@none> | 2023-04-01 21:20:48 +0800 |
---|---|---|
committer | chiatchiat <chiatchiat@gmail.com> | 2023-04-01 21:26:19 +0800 |
commit | f119a4a8605ade000a33b83269b21cb3189045b6 (patch) | |
tree | f2bda2c4a2a0e54d6de57af90f2dd01b9985b28b | |
parent | 0e1e0743971a6e641fb8f0bd7233534cef8da24d (diff) | |
download | cherrypy-git-f119a4a8605ade000a33b83269b21cb3189045b6.tar.gz |
Move import statement to top of the file
-rw-r--r-- | cherrypy/test/test_logging.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cherrypy/test/test_logging.py b/cherrypy/test/test_logging.py index bc7b2bb0..49d41d0a 100644 --- a/cherrypy/test/test_logging.py +++ b/cherrypy/test/test_logging.py @@ -1,5 +1,6 @@ """Basic tests for the CherryPy core: request handling.""" +import datetime import logging from cheroot.test import webtest @@ -199,8 +200,6 @@ def test_custom_log_format(log_tracker, monkeypatch, server): def test_utc_in_timez(monkeypatch): """Test that ``LazyRfc3339UtcTime`` is rendered as ``str`` using UTC timestamp.""" - import datetime - utcoffset8_local_time_in_naive_utc = ( datetime.datetime( year=2020, |