aboutsummaryrefslogtreecommitdiff
path: root/tools/compare.py
diff options
context:
space:
mode:
authorJusufadis Bakamovic <jbakam@gmail.com>2018-12-07 14:34:00 +0100
committerRoman Lebedev <lebedev.ri@gmail.com>2018-12-07 16:34:00 +0300
commiteee8b05c97d7b832bf67d6e000958d012ab30165 (patch)
treee7cfd6039fdee1ce838ff5837607d54f6b2b9d15 /tools/compare.py
parenteafa34a5e80c352b078307be312d3fafd0a5d13e (diff)
downloadgoogle-benchmark-eee8b05c97d7b832bf67d6e000958d012ab30165.tar.gz
[tools] Run autopep8 and apply fixes found. (#739)
Diffstat (limited to 'tools/compare.py')
-rwxr-xr-xtools/compare.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/compare.py b/tools/compare.py
index 9ff5c14..539ace6 100755
--- a/tools/compare.py
+++ b/tools/compare.py
@@ -1,5 +1,6 @@
#!/usr/bin/env python
+import unittest
"""
compare.py - versatile benchmark output compare tool
"""
@@ -244,9 +245,6 @@ def main():
print(ln)
-import unittest
-
-
class TestParser(unittest.TestCase):
def setUp(self):
self.parser = create_parser()
@@ -402,7 +400,7 @@ class TestParser(unittest.TestCase):
if __name__ == '__main__':
- #unittest.main()
+ # unittest.main()
main()
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4