summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLaurent Peuch <cortex@worlddomination.be>2020-04-30 14:06:02 +0200
committerLaurent Peuch <cortex@worlddomination.be>2020-04-30 14:06:02 +0200
commit030b4e354371efe9acf15372636866619ec28c9c (patch)
tree437e56f402b17151a05f63e77bede674b8f85deb /test
parentda334a857b78de3749dc69a81b074d86c6bbea2b (diff)
downloadlogilab-common-030b4e354371efe9acf15372636866619ec28c9c.tar.gz
[deprecation] 'renamed' function renamed to 'callable_renamed'
Diffstat (limited to 'test')
-rw-r--r--test/unittest_deprecation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unittest_deprecation.py b/test/unittest_deprecation.py
index 7662a23..09ec45a 100644
--- a/test/unittest_deprecation.py
+++ b/test/unittest_deprecation.py
@@ -145,11 +145,11 @@ class RawInputTC(TestCase):
['[logilab.common] argument old of callable some_function has been removed and is '
'deprecated'])
- def test_renamed(self):
+ def test_callable_renamed(self):
def any_func():
pass
- old_func = deprecation.renamed("old_func", any_func)
+ old_func = deprecation.callable_renamed("old_func", any_func)
old_func()
self.assertEqual(self.messages,