(cls)
| 351 | @classmethod |
| 352 | @contextmanager |
| 353 | def in_tempdir(cls): |
| 354 | save = os.getcwd() |
| 355 | try: |
| 356 | os.chdir(cls.tempdir.name) |
| 357 | yield |
| 358 | finally: |
| 359 | os.chdir(save) |
| 360 | |
| 361 | def check_match(self, patterns, matches): |
| 362 | with self.in_tempdir(): |
no outgoing calls
no test coverage detected