##// END OF EJS Templates
Only monkeypatch xunit when the tests are run using it.
Thomas Kluyver -
Show More
@@ -407,7 +407,7 b' def run_iptest():'
407 and accepts all of the standard nose arguments.
407 and accepts all of the standard nose arguments.
408 """
408 """
409 # Apply our monkeypatch to Xunit
409 # Apply our monkeypatch to Xunit
410 if not hasattr(Xunit, 'orig_addError'):
410 if '--with-xunit' in sys.argv and not hasattr(Xunit, 'orig_addError'):
411 monkeypatch_xunit()
411 monkeypatch_xunit()
412
412
413 warnings.filterwarnings('ignore',
413 warnings.filterwarnings('ignore',
General Comments 0
You need to be logged in to leave comments. Login now