aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/0003-remove-asterisks-used-to-mark-inferred-types-under-c.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0003-remove-asterisks-used-to-mark-inferred-types-under-c.patch')
-rw-r--r--debian/patches/0003-remove-asterisks-used-to-mark-inferred-types-under-c.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/patches/0003-remove-asterisks-used-to-mark-inferred-types-under-c.patch b/debian/patches/0003-remove-asterisks-used-to-mark-inferred-types-under-c.patch
new file mode 100644
index 0000000..864b611
--- /dev/null
+++ b/debian/patches/0003-remove-asterisks-used-to-mark-inferred-types-under-c.patch
@@ -0,0 +1,19 @@
+From: Wojtek Kosior <koszko@koszko.org>
+Date: Sat, 9 Jul 2022 08:52:14 +0200
+Subject: remove asterisks used to mark inferred types under certain mypy
+ versions
+
+---
+ tests/test-data/check-immu.test | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/test-data/check-immu.test b/tests/test-data/check-immu.test
+index 4998542..2ee32f1 100644
+--- a/tests/test-data/check-immu.test
++++ b/tests/test-data/check-immu.test
+@@ -70,4 +70,4 @@ def mutate() -> None:
+ mm.set('3', '4')
+ m2 = mm.finish()
+
+- reveal_type(m2) # N: Revealed type is "immutables._map.Map[builtins.str*, builtins.str*]"
++ reveal_type(m2) # N: Revealed type is "immutables._map.Map[builtins.str, builtins.str]"