Show More
@@ -165,7 +165,8 b' class Deprec(object):' | |||
|
165 | 165 | |
|
166 | 166 | def __getattr__(self, name): |
|
167 | 167 | val = getattr(self.wrapped, name) |
|
168 |
warnings.warn("Using ExceptionColors global is deprecated and will be removed in IPython 6.0", |
|
|
168 | warnings.warn("Using ExceptionColors global is deprecated and will be removed in IPython 6.0", | |
|
169 | DeprecationWarning, stacklevel=2) | |
|
169 | 170 | # using getattr after warnings break ipydoctest in weird way for 3.5 |
|
170 | 171 | return val |
|
171 | 172 |
@@ -56,6 +56,8 b" warnings.filterwarnings('error', message='.*onlyif_any_cmd_exists.*', category=D" | |||
|
56 | 56 | |
|
57 | 57 | warnings.filterwarnings('error', message='.*disable_gui.*', category=DeprecationWarning, module='.*') |
|
58 | 58 | |
|
59 | warnings.filterwarnings('error', message='.*ExceptionColors global is deprecated.*', category=DeprecationWarning, module='.*') | |
|
60 | ||
|
59 | 61 | if version_info < (6,): |
|
60 | 62 | # nose.tools renames all things from `camelCase` to `snake_case` which raise an |
|
61 | 63 | # 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