Python: Expand tests of open

This commit is contained in:
Rasmus Wriedt Larsen
2020-11-24 18:19:18 +01:00
parent caf73e4b9b
commit 5af1fdd06f

View File

@@ -1,3 +1,6 @@
import builtins
import io
open("filepath") # $getAPathArgument="filepath"
open(file="filepath") # $getAPathArgument="filepath"
@@ -5,3 +8,11 @@ o = open
o("filepath") # $ MISSING: getAPathArgument="filepath"
o(file="filepath") # $ MISSING: getAPathArgument="filepath"
builtins.open("filepath") # $ MISSING: getAPathArgument="filepath"
builtins.open(file="filepath") # $ MISSING: getAPathArgument="filepath"
io.open("filepath") # $ MISSING: getAPathArgument="filepath"
io.open(file="filepath") # $ MISSING: getAPathArgument="filepath"