Skip to content

Commit

Permalink
yapf
Browse files Browse the repository at this point in the history
  • Loading branch information
robertwb committed Jul 8, 2021
1 parent 5cd652e commit d8e4ec7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions sdks/python/apache_beam/runners/dataflow/dataflow_runner_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -839,15 +839,21 @@ def test_group_into_batches_translation_non_unified_worker(self):
'Runner determined sharding not available in Dataflow for '
'GroupIntoBatches for jobs not using Runner V2'):
_ = self._run_group_into_batches_and_get_step_properties(
True, ['--enable_streaming_engine', '--experiments=disable_runner_v2'])
True,
['--enable_streaming_engine', '--experiments=disable_runner_v2'])

# JRH
with self.assertRaisesRegex(
ValueError,
'Runner determined sharding not available in Dataflow for '
'GroupIntoBatches for jobs not using Runner V2'):
_ = self._run_group_into_batches_and_get_step_properties(
True, ['--enable_streaming_engine', '--experiments=beam_fn_api', '--experiments=disable_runner_v2'])
True,
[
'--enable_streaming_engine',
'--experiments=beam_fn_api',
'--experiments=disable_runner_v2'
])

def test_pack_combiners(self):
class PackableCombines(beam.PTransform):
Expand Down

0 comments on commit d8e4ec7

Please sign in to comment.