summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-20 22:12:54 +0000
committernirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-20 22:12:54 +0000
commit198e9a60d8d841455a65a0a6e2265d50decfb82c (patch)
tree51d21b86c5b1bcf29679d8b753888aa19df3197e
parent05799510b7d0e27c50026c860198e6f1c0e8c0cb (diff)
downloadchromium_src-198e9a60d8d841455a65a0a6e2265d50decfb82c.zip
chromium_src-198e9a60d8d841455a65a0a6e2265d50decfb82c.tar.gz
chromium_src-198e9a60d8d841455a65a0a6e2265d50decfb82c.tar.bz2
Fix a warning in themes.py
Fix for: themes.py:106: SyntaxWarning: assertion is always true, perhaps remove parentheses? Review URL: http://codereview.chromium.org/6309009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72016 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/test/functional/themes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/test/functional/themes.py b/chrome/test/functional/themes.py
index d0963b3..e4e6c70 100644
--- a/chrome/test/functional/themes.py
+++ b/chrome/test/functional/themes.py
@@ -103,8 +103,8 @@ class ThemesTest(pyauto.PyUITest):
themes_dir = os.path.join(self.DataDir(), 'themes')
urls_file = os.path.join(self.DataDir(), 'urls.txt')
- assert(os.path.exists(themes_dir),
- 'The dir "%s" must exist' % os.path.abspath(themes_dir))
+ assert os.path.exists(themes_dir), \
+ 'The dir "%s" must exist' % os.path.abspath(themes_dir)
group_size = 20
num_urls_to_visit = 100