Title: [129478] trunk/Tools
Revision
129478
Author
[email protected]
Date
2012-09-25 02:09:58 -0700 (Tue, 25 Sep 2012)

Log Message

Unreviewed, another test case adjustment after r129459. Python 2.7 doesn't
seem to be a requirement yet so the assertDictEqual method is not yet available
on all builders. Assert that the empty dictionary length equals 0 instead.

* Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
(ResultSummaryTest.test_interpret_test_failures):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (129477 => 129478)


--- trunk/Tools/ChangeLog	2012-09-25 09:01:54 UTC (rev 129477)
+++ trunk/Tools/ChangeLog	2012-09-25 09:09:58 UTC (rev 129478)
@@ -1,3 +1,12 @@
+2012-09-25  Zan Dobersek  <[email protected]>
+
+        Unreviewed, another test case adjustment after r129459. Python 2.7 doesn't
+        seem to be a requirement yet so the assertDictEqual method is not yet available
+        on all builders. Assert that the empty dictionary length equals 0 instead.
+
+        * Scripts/webkitpy/layout_tests/controllers/manager_unittest.py:
+        (ResultSummaryTest.test_interpret_test_failures):
+
 2012-09-24  Simon Hausmann  <[email protected]>
 
         [Qt] Fix build with latest Qt 5

Modified: trunk/Tools/Scripts/webkitpy/layout_tests/controllers/manager_unittest.py (129477 => 129478)


--- trunk/Tools/Scripts/webkitpy/layout_tests/controllers/manager_unittest.py	2012-09-25 09:01:54 UTC (rev 129477)
+++ trunk/Tools/Scripts/webkitpy/layout_tests/controllers/manager_unittest.py	2012-09-25 09:09:58 UTC (rev 129478)
@@ -113,7 +113,7 @@
 
         test_dict = interpret_test_failures(self.port, 'foo/reftest.html',
             [test_failures.FailureReftestMismatchDidNotOccur(self.port.abspath_for_test('foo/reftest-expected-mismatch.html'))])
-        self.assertDictEqual(test_dict, {})
+        self.assertEqual(len(test_dict), 0)
 
         test_dict = interpret_test_failures(self.port, 'foo/audio-test.html',
             [test_failures.FailureMissingAudio()])
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to