Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Side by Side Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/views/printing.py

Issue 1950213002: Remove unused imports in webkitpy with using autoflake. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright (C) 2010, 2012 Google Inc. All rights reserved. 1 # Copyright (C) 2010, 2012 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer 10 # copyright notice, this list of conditions and the following disclaimer
(...skipping 15 matching lines...) Expand all
26 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 28
29 """Package that handles non-debug, non-file output for run-webkit-tests.""" 29 """Package that handles non-debug, non-file output for run-webkit-tests."""
30 30
31 import math 31 import math
32 import optparse 32 import optparse
33 33
34 from webkitpy.tool import grammar 34 from webkitpy.tool import grammar
35 from webkitpy.layout_tests.models import test_expectations 35 from webkitpy.layout_tests.models import test_expectations
36 from webkitpy.layout_tests.models.test_expectations import TestExpectations, Tes tExpectationParser 36 from webkitpy.layout_tests.models.test_expectations import TestExpectationParser
37 from webkitpy.layout_tests.models.test_expectations import TestExpectations
37 from webkitpy.layout_tests.views.metered_stream import MeteredStream 38 from webkitpy.layout_tests.views.metered_stream import MeteredStream
38 39
39 40
40 NUM_SLOW_TESTS_TO_LOG = 10 41 NUM_SLOW_TESTS_TO_LOG = 10
41 42
42 43
43 def print_options(): 44 def print_options():
44 return [ 45 return [
45 optparse.make_option('--debug-rwt-logging', action='store_true', default =False, 46 optparse.make_option('--debug-rwt-logging', action='store_true', default =False,
46 help='print timestamps and debug information for ru n-webkit-tests itself'), 47 help='print timestamps and debug information for ru n-webkit-tests itself'),
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 self._meter.write_throttled_update(msg) 433 self._meter.write_throttled_update(msg)
433 434
434 def write_update(self, msg): 435 def write_update(self, msg):
435 self._meter.write_update(msg) 436 self._meter.write_update(msg)
436 437
437 def writeln(self, msg): 438 def writeln(self, msg):
438 self._meter.writeln(msg) 439 self._meter.writeln(msg)
439 440
440 def flush(self): 441 def flush(self):
441 self._meter.flush() 442 self._meter.flush()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698