Skip to content

Commit 025c948

Browse files
author
Adrien Chauve
committed
Fix test flags
1 parent 2112398 commit 025c948

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

mypy/fastparse.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,6 @@ def visit_JoinedStr(self, n: ast35.JoinedStr) -> StrExpr:
779779
# FormattedValue(expr value)
780780
@with_line
781781
def visit_FormattedValue(self, n: ast35.FormattedValue) -> StrExpr:
782-
print(n, n.value, dir(n))
783782
return self.visit(n.value)
784783

785784
# Bytes(bytes s)

test-data/unit/check-expressions.test

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1167,8 +1167,7 @@ u'%s' % (u'abc',)
11671167
f'foobar'
11681168

11691169
[case testFStringTypecheckExpression]
1170-
# flags: --fast-parser
1171-
# flags: --python-version 3.6
1170+
# flags: --fast-parser --python-version 3.6
11721171
a: str
11731172
a = 'foo'
11741173
b: str
@@ -1177,7 +1176,7 @@ b == 'foobar'
11771176
f'{1 + "a"}'
11781177
f'{1 + 1}'
11791178
[out]
1180-
main:2: error: Unsupported operand types for + ("int" and "str")
1179+
main:7: error: Unsupported operand types for + ("int" and "str") (diff)
11811180

11821181

11831182
-- Lambdas

0 commit comments

Comments
 (0)