Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-1251 Python 3 Support
  3. BEAM-5616

Several tests fail on Python 3 with Failed assert: [<some number>] == [nan]

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Not applicable
    • Component/s: sdk-py-core
    • Labels:
      None

      Description

      ======================================================================
      ERROR: test_global_fanout (apache_beam.transforms.combiners_test.CombineTest)
      ----------------------------------------------------------------------
      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 414, in invoke_process
      windowed_value, self.process_method(windowed_value.value))
      File "/usr/local/google/home/valentyn/projects/beam/clean_head/beam/sdks/python/apache_beam/transforms/core.py", line 1068, in <lambda>
      wrapper = lambda x: [fn(x)]
      File "/usr/local/google/home/valentyn/projects/beam/clean_head/beam/sdks/python/apache_beam/testing/util.py", line 119, in _equal
      'Failed assert: %r == %r' % (sorted_expected, sorted_actual))
      apache_beam.testing.util.BeamAssertException: Failed assert: [49.5] == [nan]

        Attachments

          Activity

            People

            • Assignee:
              RobbeSneyders Robbe
              Reporter:
              tvalentyn Valentyn Tymofieiev
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: