ExecutedParams should never be additionally faked, even if they are the first params. They have been legitimately created by a caller.
This commit is contained in:
1 parent
0d3ea4dfb4
commit
0b99473886
4 files changed
+18
-3
No files matched your search
@@ -0,0 +1,13 @@
|
||||
# classmethod
|
||||
class TarFile():
|
||||
@classmethod
|
||||
def open(cls, name, **kwargs):
|
||||
return cls.taropen(name, **kwargs)
|
||||
|
||||
@classmethod
|
||||
def taropen(cls, name, **kwargs):
|
||||
return name
|
||||
|
||||
|
||||
# should just work
|
||||
TarFile.open('hallo')
|
||||
Reference in new issue
Block a user