We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bab1a8f commit c4e6066Copy full SHA for c4e6066
tensorflow_transform/beam/impl_test.py
@@ -4310,8 +4310,8 @@ def preprocessing_fn(inputs):
4310
return {'x_scaled': tft.scale_to_0_1(inputs['x'])}
4311
4312
# Exception type depends on the runner being used.
4313
- with self.assertRaisesRegexp(
4314
- (RuntimeError, ValueError, TypeError), 'has type .*list'):
+ with self.assertRaisesRegex(
+ (RuntimeError, ValueError, TypeError), '.*list'):
4315
# TODO(b/149997088): Remove this explicit use of DirectRunner.
4316
with beam.Pipeline() as pipeline:
4317
metadata = tft.DatasetMetadata.from_feature_spec({
0 commit comments