From 364d4fdc988b0706551acb574c1bdb1df800b6a1 Mon Sep 17 00:00:00 2001 From: "dennisjeffrey@chromium.org" Date: Mon, 26 Sep 2011 17:14:14 +0000 Subject: Refactor pyauto tests to use pprint() and pformat() from pyauto.py. Also added a Debug() function to process_count.py. BUG=97663 TEST=None Review URL: http://codereview.chromium.org/8037007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102747 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/test/functional/themes.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'chrome/test/functional/themes.py') diff --git a/chrome/test/functional/themes.py b/chrome/test/functional/themes.py index 298eec6..b718949 100644 --- a/chrome/test/functional/themes.py +++ b/chrome/test/functional/themes.py @@ -19,11 +19,9 @@ class ThemesTest(pyauto.PyUITest): This method will not run automatically. """ - import pprint - pp = pprint.PrettyPrinter(indent=2) while True: raw_input('Hit to dump info.. ') - pp.pprint(self.GetThemeInfo()) + self.pprint(self.GetThemeInfo()) def testSetTheme(self): """Verify theme install.""" -- cgit v1.1