##// END OF EJS Templates
Prepare completer for pytest....
Prepare completer for pytest. use proper unittest class with setup and teardown methods to capture deprecation warnings; and move support classes and function outside of the testcase definition. Make all standalone functions methods. Beyond this no code change.

File last commit:

r23033:5dd70876
r25099:7957b6e0
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 *