From 4e3cf535b359625de86822e94ec40d8b4772c215 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Sun, 28 Feb 2021 18:59:48 +0100 Subject: [PATCH] Small test change --- tests/unittest_brain.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/unittest_brain.py b/tests/unittest_brain.py index d4e6a7cfaf..10420a542d 100644 --- a/tests/unittest_brain.py +++ b/tests/unittest_brain.py @@ -1238,7 +1238,7 @@ def check_metaclass(node: nodes.ClassDef): T = TypeVar("T") MutableSet[T] - class Derived(MutableSet[T]): + class Derived1(MutableSet[T]): pass """ ) @@ -1247,7 +1247,7 @@ class Derived(MutableSet[T]): assertEqualMro( inferred, [ - "Derived", + "Derived1", "MutableSet", "Set", "Collection", @@ -1261,7 +1261,7 @@ class Derived(MutableSet[T]): node = builder.extract_node( """ import typing - class Derived(typing.OrderedDict[int, str]): + class Derived2(typing.OrderedDict[int, str]): pass """ ) @@ -1270,7 +1270,7 @@ class Derived(typing.OrderedDict[int, str]): assertEqualMro( inferred, [ - "Derived", + "Derived2", "OrderedDict", "dict", "object", @@ -1280,7 +1280,7 @@ class Derived(typing.OrderedDict[int, str]): node = builder.extract_node( """ import typing - class Derived(typing.Pattern[str]): + class Derived3(typing.Pattern[str]): pass """ ) @@ -1289,7 +1289,7 @@ class Derived(typing.Pattern[str]): assertEqualMro( inferred, [ - "Derived", + "Derived3", "Pattern", "object", ],