diff options
| author | Michele Simionato <michele.simionato@gmail.com> | 2015-07-22 19:36:42 +0200 |
|---|---|---|
| committer | Michele Simionato <michele.simionato@gmail.com> | 2015-07-22 19:36:42 +0200 |
| commit | 14b603738eed475281a38350bfaf0df5bca5f3c8 (patch) | |
| tree | 1fd2f101fc8381f5252cd9a6ebab0e06e3274258 /src/tests/test.py | |
| parent | 324f04b45f7e4ce517dcbb39f2d26083161b9470 (diff) | |
| download | python-decorator-git-14b603738eed475281a38350bfaf0df5bca5f3c8.tar.gz | |
Used vancestors instead of abcs
Diffstat (limited to 'src/tests/test.py')
| -rw-r--r-- | src/tests/test.py | 4 |
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']) |
