| 98 | return True |
| 99 | |
| 100 | class FileWithLen(file): |
| 101 | def __init__(self, *args, **keyws): |
| 102 | file.__init__(self, *args, **keyws) |
| 103 | |
| 104 | def __len__(self): |
| 105 | return int(os.fstat(self.fileno())[6]) |
| 106 | |
| 107 | |
| 108 | if __name__ == '__main__': |
no outgoing calls
no test coverage detected