From f47a0cf1ab03200d3ac3fd896ae51176a457d075 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Mon, 14 May 2018 17:09:40 -0400 Subject: [PATCH] fix error message in pythoneval test Needed after python/typeshed#2128; this will fail tests until the typeshed change is merged. --- test-data/unit/pythoneval.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-data/unit/pythoneval.test b/test-data/unit/pythoneval.test index e193de93dffd..93e71bf7490c 100644 --- a/test-data/unit/pythoneval.test +++ b/test-data/unit/pythoneval.test @@ -1257,8 +1257,8 @@ class A: class B: __slots__ = (1, 2) [out] -_testInvalidSlots.py:2: error: Incompatible types in assignment (expression has type "int", base class "object" defined the type as "Union[str, Iterable[str], None]") -_testInvalidSlots.py:4: error: Incompatible types in assignment (expression has type "Tuple[int, int]", base class "object" defined the type as "Union[str, Iterable[str], None]") +_testInvalidSlots.py:2: error: Incompatible types in assignment (expression has type "int", base class "object" defined the type as "Union[str, Iterable[str]]") +_testInvalidSlots.py:4: error: Incompatible types in assignment (expression has type "Tuple[int, int]", base class "object" defined the type as "Union[str, Iterable[str]]") [case testDictWithStarStarSpecialCase] from typing import Dict