(self, substr)
| 97 | sys.exit('FATAL ERROR: There are no tests for category "%s"' % category) |
| 98 | |
| 99 | def RemoveIfPresent(self, substr): |
| 100 | for index, error in enumerate(self._errors): |
| 101 | if error.find(substr) != -1: |
| 102 | self._errors = self._errors[0:index] + self._errors[(index + 1) :] |
| 103 | break |
| 104 | |
| 105 | |
| 106 | # This class is a lame mock of codecs. We do not verify filename, mode, or |
no outgoing calls
no test coverage detected