##// END OF EJS Templates
Update use of `knownfailureif`
Laurent Gautier -
Show More
@@ -37,7 +37,7 b' from IPython import version_info'
37 37 from IPython.utils.py3compat import decode
38 38 from IPython.utils.importstring import import_item
39 39 from IPython.testing.plugin.ipdoctest import IPythonDoctest
40 from IPython.external.decorators import KnownFailure, knownfailureif
40 from IPython.external.decorators import KnownFailure, dec
41 41
42 42 pjoin = path.join
43 43
@@ -83,7 +83,7 b' else:'
83 83 # ------------------------------------------------------------------------------
84 84 def monkeypatch_xunit():
85 85 try:
86 knownfailureif(True)(lambda: None)()
86 dec.knownfailureif(True)(lambda: None)()
87 87 except Exception as e:
88 88 KnownFailureTest = type(e)
89 89
General Comments 0
You need to be logged in to leave comments. Login now