Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-10766

NativeTypeCompatibilityTest.test_convert_to_beam_types flake

    XMLWordPrintableJSON

    Details

      Description

      https://ci-beam.apache.org/job/beam_PreCommit_Python_cron/3125/

      https://ci-beam.apache.org/job/beam_PreCommit_Python_commit/14680/

      self = <apache_beam.typehints.native_type_compatibility_test.NativeTypeCompatibilityTest testMethod=test_convert_to_beam_types>

      def test_convert_to_beam_types(self):
      typing_types = [
      bytes,
      typing.List[bytes],
      typing.List[typing.Tuple[bytes, int]],
      typing.Union[int, typing.List[int]]
      ]
      beam_types = [
      bytes,
      typehints.List[bytes],
      typehints.List[typehints.Tuple[bytes, int]],
      typehints.Union[int, typehints.List[int]]
      ]
      converted_beam_types = convert_to_beam_types(typing_types)
      > self.assertEqual(converted_beam_types, beam_types)
      E AssertionError: Lists differ: [<type 'str'>, List[Any], List... != [<type 'str'>, List[str], List...
      E
      E First differing element 1:
      E List[Any]
      E List[str]
      E
      E - [<type 'str'>, List[Any], List[Tuple[str, int]], Union[List[int], int]]
      E ? ^^^
      E
      E + [<type 'str'>, List[str], List[Tuple[str, int]], Union[List[int], int]]
      E ? ^^^

      apache_beam/typehints/native_type_compatibility_test.py:214: AssertionError

        Attachments

          Activity

            People

            • Assignee:
              bhulette Brian Hulette
              Reporter:
              ibzib Kyle Weaver
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 10m
                2h 10m