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:
Dave Halter committed 2014-06-30 15:22:53 +02:00
1 parent 0d3ea4dfb4
commit 0b99473886
4 files changed
+18 -3

No files matched your search

+13
View File
@@ -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')