Skip to content

Commit 5181a22

Browse files
committed
Strip either quote mark
Since this changed in mypy 0.900
1 parent 1f2e43c commit 5181a22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

whole-repo-tests/test_type_hints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def get_mypy_analysed_type(fname, val):
4242
return (
4343
out.split("Revealed type is ")[1]
4444
.strip()
45-
.strip("'")
45+
.strip('"' + "'")
4646
.replace("builtins.", "")
4747
.replace("*", "")
4848
)

0 commit comments

Comments
 (0)