Show More
@@ -46,15 +46,6 b' pjoin = path.join' | |||
|
46 | 46 | # Enable printing all warnings raise by IPython's modules |
|
47 | 47 | warnings.filterwarnings('default', message='.*', category=Warning, module='IPy.*') |
|
48 | 48 | |
|
49 | ||
|
50 | if version_info < (4,2): | |
|
51 | # ignore some warnings from traitlets until 6.0 | |
|
52 | warnings.filterwarnings('ignore', message='.*on_trait_change is deprecated: use observe instead.*') | |
|
53 | warnings.filterwarnings('ignore', message='.*was set from the constructor.*', category=Warning, module='IPython.*') | |
|
54 | warnings.filterwarnings('ignore', message='.*use the instance .help string directly, like x.help.*', category=DeprecationWarning, module='IPython.*') | |
|
55 | else : | |
|
56 | warnings.warn('iptest has been filtering out for Traitlets warnings messages, for 2 minor versions (since 4.x), please consider updating to use new API') | |
|
57 | ||
|
58 | 49 | if version_info < (6,): |
|
59 | 50 | # nose.tools renames all things from `camelCase` to `snake_case` which raise an |
|
60 | 51 | # warning with the runner they also import from standard import library. (as of Dec 2015) |
General Comments 0
You need to be logged in to leave comments.
Login now