Skip to content

Commit 5af1fdd

Browse files
committed
Python: Expand tests of open
1 parent caf73e4 commit 5af1fdd

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
1+
import builtins
2+
import io
3+
14
open("filepath") # $getAPathArgument="filepath"
25
open(file="filepath") # $getAPathArgument="filepath"
36

47
o = open
58

69
o("filepath") # $ MISSING: getAPathArgument="filepath"
710
o(file="filepath") # $ MISSING: getAPathArgument="filepath"
11+
12+
13+
builtins.open("filepath") # $ MISSING: getAPathArgument="filepath"
14+
builtins.open(file="filepath") # $ MISSING: getAPathArgument="filepath"
15+
16+
17+
io.open("filepath") # $ MISSING: getAPathArgument="filepath"
18+
io.open(file="filepath") # $ MISSING: getAPathArgument="filepath"

0 commit comments

Comments
 (0)