You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Valentyn Tymofieiev (JIRA)" <ji...@apache.org> on 2018/10/03 02:34:00 UTC

[jira] [Created] (BEAM-5618) Several tests fail on Python 3 with: unsupported operand type(s) for +: 'int' and 'EmptySideInput'

Valentyn Tymofieiev created BEAM-5618:
-----------------------------------------

             Summary: Several tests fail on Python 3 with: unsupported operand type(s) for +: 'int' and 'EmptySideInput'
                 Key: BEAM-5618
                 URL: https://issues.apache.org/jira/browse/BEAM-5618
             Project: Beam
          Issue Type: Sub-task
          Components: sdk-py-core
            Reporter: Valentyn Tymofieiev


ERROR: test_do_with_side_input_as_arg (apache_beam.transforms.ptransform_test.PTransformTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/google/home/valentyn/projects/beam/clean_head/beam/sdks/python/apache_beam/runners/common.py", line 677, in process
    self.do_fn_invoker.invoke_process(windowed_value)
  File "/usr/local/google/home/valentyn/projects/beam/clean_head/beam/sdks/python/apache_beam/runners/common.py", line 529, in invoke_process
    windowed_value, additional_args, additional_kwargs, output_processor)
  File "/usr/local/google/home/valentyn/projects/beam/clean_head/beam/sdks/python/apache_beam/runners/common.py", line 598, in _invoke_per_window
    windowed_value, self.process_method(*args_for_process))
  File "/usr/local/google/home/valentyn/projects/beam/clean_head/beam/sdks/python/apache_beam/transforms/ptransform_test.py", line 135, in <lambda>
    lambda x, addon: [x + addon], pvalue.AsSingleton(side))
TypeError: unsupported operand type(s) for +: 'int' and 'EmptySideInput'





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)