diff tests/test_util.py @ 1517:b3e41b0d50a2

test: enable devel.all-warnings This enables some extra checks in core Mercurial helpful for detecting potential issues.
author Jun Wu <quark@fb.com>
date Mon, 07 Aug 2017 18:11:56 -0700
parents 0991df151799
children adba152a5177
line wrap: on
line diff
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -298,6 +298,7 @@ def testui(stupid=False, layout='auto', 
     u.setconfig('hgsubversion', 'stupid', bools[stupid])
     u.setconfig('hgsubversion', 'layout', layout)
     u.setconfig('hgsubversion', 'startrev', startrev)
+    u.setconfig('devel', 'all-warnings', True)
     return u
 
 def dispatch(cmd):