Attempt fix for Leopard python unit test run.
authorlevin@chromium.org <levin@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Sep 2011 21:30:04 +0000 (21:30 +0000)
committerlevin@chromium.org <levin@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Sep 2011 21:30:04 +0000 (21:30 +0000)
* Scripts/webkitpy/common/watchlist/watchlistparser_unittest.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96262 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/Scripts/webkitpy/common/watchlist/watchlistparser_unittest.py

index 0f747b7..a51fdfb 100644 (file)
@@ -1,3 +1,9 @@
+2011-09-28  David Levin  <levin@chromium.org>
+
+        Attempt fix for Leopard python unit test run.
+
+        * Scripts/webkitpy/common/watchlist/watchlistparser_unittest.py:
+
 2011-09-27  Dimitri Glazkov  <dglazkov@chromium.org>
 
         REGRESSION(r95573): Crash when loading SVG documents in a flattened frame or any SVG document in Chromium/Mac.
index 178ea36..7c6ed3b 100644 (file)
@@ -44,7 +44,7 @@ class WatchListParserTest(unittest.TestCase):
         try:
             callable(*args)
             self.assertTrue(False, 'No assert raised.')
-        except Exception as exception:
+        except Exception, exception:
             self.assertTrue(re.match(regex_message, exception.__str__()),
                             'Expected regex "%s"\nGot "%s"' % (regex_message, exception.__str__()))