(self)
| 598 | |
| 599 | class IOWriteNetCDFDaskDistributed: |
| 600 | def setup(self): |
| 601 | # TODO: Lazily skipped in CI as it is very demanding and slow. |
| 602 | # Improve times and remove errors. |
| 603 | _skip_slow() |
| 604 | |
| 605 | requires_dask() |
| 606 | |
| 607 | try: |
| 608 | import distributed |
| 609 | except ImportError as err: |
| 610 | raise NotImplementedError() from err |
| 611 | |
| 612 | self.client = distributed.Client() |
| 613 | self.write = create_delayed_write() |
| 614 | |
| 615 | def cleanup(self): |
| 616 | self.client.shutdown() |
nothing calls this directly
no test coverage detected