##// END OF EJS Templates
nose2pytest migration batch 1...
nose2pytest migration batch 1 Most of the changes done by sed -i s/nt.assert/assert/ -> use nose2pytest script from `nose2pytest` module from https://github.com/schollii/nose2pytest/ At the end some manual changes (mostly about proper pytest module import). Signed-off-by: Tomasz Kłoczko <kloczek@github.com>

File last commit:

r23033:5dd70876
r26749:8ab56c7c
Show More
traitlets.py
6 lines | 143 B | text/x-python | PythonLexer
Min RK
absolute import for traitlets shim...
r21002
Min RK
add shim warnings for traitlets
r21145 from warnings import warn
Srinivas Reddy Thatiparthy
Add stacklevel=2 to warn function
r23033 warn("IPython.utils.traitlets has moved to a top-level traitlets package.", stacklevel=2)
Min RK
add shim warnings for traitlets
r21145
Min RK
absolute import for traitlets shim...
r21002 from traitlets import *