File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2525
2626from parameterized import parameterized
2727
28+ from apache_beam .internal .cloudpickle import cloudpickle
2829from apache_beam .ml .anomaly .specifiable import _FALLBACK_SUBSPACE
2930from apache_beam .ml .anomaly .specifiable import _KNOWN_SPECIFIABLE
3031from apache_beam .ml .anomaly .specifiable import Spec
@@ -353,7 +354,6 @@ def test_on_pickle(self):
353354 self .assertEqual (FooForPickle .counter , 1 )
354355 self .assertEqual (new_foo_2 .__dict__ , foo .__dict__ )
355356
356- import cloudpickle
357357 FooForPickle .counter = 0
358358 foo = FooForPickle (456 )
359359 self .assertEqual (FooForPickle .counter , 0 )
Original file line number Diff line number Diff line change 3030from typing import Optional
3131from typing import Sequence
3232
33- import cloudpickle
3433import dill
3534import numpy as np
3635from hypothesis import given
3736from hypothesis import settings
3837from parameterized import parameterized
3938from parameterized import parameterized_class
4039
40+ from apache_beam .internal .cloudpickle import cloudpickle
4141from apache_beam .portability import common_urns
4242from apache_beam .portability .api import schema_pb2
4343from apache_beam .typehints import row_type
You can’t perform that action at this time.
0 commit comments