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

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

Issue 1847613002: Remove unused imports in webkitpy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
37 from webkitpy.layout_tests.views.metered_stream import MeteredStream 36 from webkitpy.layout_tests.views.metered_stream import MeteredStream
38 37
39 38
40 NUM_SLOW_TESTS_TO_LOG = 10 39 NUM_SLOW_TESTS_TO_LOG = 10
41 40
42 41
43 def print_options(): 42 def print_options():
44 return [ 43 return [
45 optparse.make_option('--debug-rwt-logging', action='store_true', default =False, 44 optparse.make_option('--debug-rwt-logging', action='store_true', default =False,
46 help='print timestamps and debug information for ru n-webkit-tests itself'), 45 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) 431 self._meter.write_throttled_update(msg)
433 432
434 def write_update(self, msg): 433 def write_update(self, msg):
435 self._meter.write_update(msg) 434 self._meter.write_update(msg)
436 435
437 def writeln(self, msg): 436 def writeln(self, msg):
438 self._meter.writeln(msg) 437 self._meter.writeln(msg)
439 438
440 def flush(self): 439 def flush(self):
441 self._meter.flush() 440 self._meter.flush()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698