summaryrefslogtreecommitdiff
path: root/cherrypy/test/logtest.py
diff options
context:
space:
mode:
authorspagno <spagno@gmail.com>2017-10-18 03:40:18 +0200
committerSviatoslav Sydorenko <wk@sydorenko.org.ua>2017-10-20 13:16:06 +0300
commitbb96f61982bad5d9d0d7142c4e01428b5a6dfec3 (patch)
treefdd20081673db2f658992588947efdaf304ab4b2 /cherrypy/test/logtest.py
parent4cbab320067805230f315c56dbadbc389f9134de (diff)
downloadcherrypy-git-bb96f61982bad5d9d0d7142c4e01428b5a6dfec3.tar.gz
Fixed Flake8
Diffstat (limited to 'cherrypy/test/logtest.py')
-rw-r--r--cherrypy/test/logtest.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/cherrypy/test/logtest.py b/cherrypy/test/logtest.py
index d18493cc..3e30a1b8 100644
--- a/cherrypy/test/logtest.py
+++ b/cherrypy/test/logtest.py
@@ -172,7 +172,7 @@ class LogCase(object):
uuid_obj = ''
msg = ''
for lines in data:
- uuid_log = lines[:-1].decode("utf-8")
+ uuid_log = lines[:-1].decode('utf-8')
uuid_obj = UUID(uuid_log, version=4)
try:
uuid_obj = UUID(uuid_log, version=4)
@@ -183,7 +183,6 @@ class LogCase(object):
msg = '%r not a valid UUIDv4' % uuid_log
self._handleLogError(msg, data, marker, lines)
-
def assertLog(self, sliceargs, lines, marker=None):
"""Fail if log.readlines()[sliceargs] is not contained in 'lines'.