Title: [125372] trunk/Tools
Revision
125372
Author
[email protected]
Date
2012-08-12 04:38:12 -0700 (Sun, 12 Aug 2012)

Log Message

master.cfg unittest cleanup: Show DeprecationWarnings with python >= 2.7 too
https://bugs.webkit.org/show_bug.cgi?id=90161

Reviewed by Eric Seidel.

* BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:

Modified Paths

Diff

Modified: trunk/Tools/BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py (125371 => 125372)


--- trunk/Tools/BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py	2012-08-12 11:38:09 UTC (rev 125371)
+++ trunk/Tools/BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py	2012-08-12 11:38:12 UTC (rev 125372)
@@ -5,6 +5,10 @@
 import StringIO
 import unittest
 
+# Show DepricationWarnings come from buildbot - it isn't default with Python 2.7 or newer.
+# See https://bugs.webkit.org/show_bug.cgi?id=90161 for details.
+import warnings
+warnings.simplefilter('default')
 
 class BuildBotConfigLoader(object):
     def _add_webkitpy_to_sys_path(self):

Modified: trunk/Tools/ChangeLog (125371 => 125372)


--- trunk/Tools/ChangeLog	2012-08-12 11:38:09 UTC (rev 125371)
+++ trunk/Tools/ChangeLog	2012-08-12 11:38:12 UTC (rev 125372)
@@ -1,3 +1,12 @@
+2012-08-12  Csaba Osztrogonác  <[email protected]>
+
+        master.cfg unittest cleanup: Show DeprecationWarnings with python >= 2.7 too
+        https://bugs.webkit.org/show_bug.cgi?id=90161
+
+        Reviewed by Eric Seidel.
+
+        * BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py:
+
 2012-08-12  Simon Hausmann  <[email protected]>
 
         [Qt] Unreviewed trivial build fix: Newer Qt versions don't implicitly include qwindowsysteminterface.h
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to