File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
python/ql/test/library-tests/frameworks/stdlib Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 23
23
posix = PosixPath ("posix/filepath" )
24
24
windows = WindowsPath ("windows/filepath" )
25
25
26
- p .chmod (0o777 ) # MISSING: $getAPathArgument=p
27
- posix .chmod (0o777 ) # MISSING: $getAPathArgument=posix
28
- windows .chmod (0o777 ) # MISSING: $getAPathArgument=windows
26
+ p .chmod (0o777 ) # $getAPathArgument=p
27
+ posix .chmod (0o777 ) # $getAPathArgument=posix
28
+ windows .chmod (0o777 ) # $getAPathArgument=windows
29
29
30
- with p .open () as f : # MISSING: $getAPathArgument=p
30
+ with p .open () as f : # $getAPathArgument=p
31
31
f .read ()
32
32
33
- p .write_bytes (b"hello" ) # MISSING: $getAPathArgument=p
33
+ p .write_bytes (b"hello" ) # $getAPathArgument=p
34
+
35
+ name = windows .parent .name
36
+ o (name ) # $getAPathArgument=name
You can’t perform that action at this time.
0 commit comments