Python: Accept changes to .expected from more pathlib flow

But we don't want to keep this, this commit is just to show why we need a fix :)
This commit is contained in:
Rasmus Wriedt Larsen
2022-08-24 13:27:51 +02:00
parent df4d09b3f9
commit 9d29a0a044
2 changed files with 8 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ with p.open() as f: # $ getAPathArgument=p
p.write_bytes(b"hello") # $ getAPathArgument=p fileWriteData=b"hello"
p.write_text("hello") # $ getAPathArgument=p fileWriteData="hello"
p.open("wt").write("hello") # $ getAPathArgument=p fileWriteData="hello"
p.open("wt").write("hello") # $ getAPathArgument=p fileWriteData="hello" SPURIOUS: getAPathArgument=self
name = windows.parent.name
o = open