diff options
author | Ceridwen <ceridwenv@gmail.com> | 2015-08-22 12:03:25 -0400 |
---|---|---|
committer | Ceridwen <ceridwenv@gmail.com> | 2015-08-22 12:03:25 -0400 |
commit | a160b2e1219f1dfc5155ed3af0ae1f237ae84ed3 (patch) | |
tree | ca42793eb824e3455d71727c702009d7f49044eb /astroid/node_classes.py | |
parent | 8c532c29ec08c286e5b43771e5dccde0dfb1195b (diff) | |
download | astroid-a160b2e1219f1dfc5155ed3af0ae1f237ae84ed3.tar.gz |
Add deprecation warnings tests
Diffstat (limited to 'astroid/node_classes.py')
-rw-r--r-- | astroid/node_classes.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/astroid/node_classes.py b/astroid/node_classes.py index 5d5cf40..6548007 100644 --- a/astroid/node_classes.py +++ b/astroid/node_classes.py @@ -665,8 +665,8 @@ class Comprehension(bases.NodeNG): return self def ass_type(self): - warnings.warn('%s.ass_type() is deprecated, ' - 'use %s.assign_type() instead.' + warnings.warn('%s.ass_type() is deprecated and slated for removal' + 'in astroid 2.0, use %s.assign_type() instead.' % (type(self).__name__, type(self).__name__), PendingDeprecationWarning) return self.assign_type() |