summaryrefslogtreecommitdiff
path: root/src/tests/test.py
diff options
context:
space:
mode:
authorMichele Simionato <michele.simionato@gmail.com>2015-07-22 19:36:42 +0200
committerMichele Simionato <michele.simionato@gmail.com>2015-07-22 19:36:42 +0200
commit14b603738eed475281a38350bfaf0df5bca5f3c8 (patch)
tree1fd2f101fc8381f5252cd9a6ebab0e06e3274258 /src/tests/test.py
parent324f04b45f7e4ce517dcbb39f2d26083161b9470 (diff)
downloadpython-decorator-git-14b603738eed475281a38350bfaf0df5bca5f3c8.tar.gz
Used vancestors instead of abcs
Diffstat (limited to 'src/tests/test.py')
-rw-r--r--src/tests/test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test.py b/src/tests/test.py
index 4c1c816..cbb8373 100644
--- a/src/tests/test.py
+++ b/src/tests/test.py
@@ -245,12 +245,12 @@ class TestSingleDispatch(unittest.TestCase):
self.assertEqual(g(t), "tuple")
if hasattr(c, 'ChainMap'):
self.assertEqual(
- [abc.__name__ for abc in g.abcs[0]],
+ [abc.__name__ for abc in g.vancestors[0]],
['ChainMap', 'MutableMapping', 'MutableSequence', 'MutableSet',
'Mapping', 'Sequence', 'Set', 'Sized'])
else:
self.assertEqual(
- [abc.__name__ for abc in g.abcs[0]],
+ [abc.__name__ for abc in g.vancestors[0]],
['MutableMapping', 'MutableSequence', 'MutableSet',
'Mapping', 'Sequence', 'Set', 'Sized'])