(self)
| 2683 | assert worker.run(check_annotations, obj, type_, "type_") == "ok" |
| 2684 | |
| 2685 | def test_class_annotations(self): |
| 2686 | class C: |
| 2687 | pass |
| 2688 | |
| 2689 | C.__annotations__ = {"a": int} |
| 2690 | |
| 2691 | C1 = pickle_depickle(C, protocol=self.protocol) |
| 2692 | assert C1.__annotations__ == C.__annotations__ |
| 2693 | |
| 2694 | def test_class_annotations_abstractclass(self): |
| 2695 | # see https://github.com/cloudpipe/cloudpickle/issues/572 |
nothing calls this directly
no test coverage detected