We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9efc2f4 commit 571c05cCopy full SHA for 571c05c
ast/dump_test.go
@@ -19,6 +19,7 @@ func TestDump(t *testing.T) {
19
`BinOp(Left=Str(S="one"),Op=Add,Right=Str(S="two"))`},
20
{&Module{}, `Module(Body=[])`},
21
{&Module{Body: []Stmt{&Pass{}}}, `Module(Body=[Pass()])`},
22
+ {&Module{Body: []Stmt{&ExprStmt{Value: &Tuple{}}}}, `Module(Body=[ExprStmt(Value=Tuple(Elts=[],Ctx=UnknownExprContext(0)))])`},
23
} {
24
out := Dump(test.in)
25
if out != test.out {
0 commit comments