osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build fail on Python SDK


I have not seen this one before. Could you share the link to gradle build scan, perhaps that will have more information?

On Tue, Nov 27, 2018 at 6:42 AM, Jean-Baptiste Onofré <jb@xxxxxxxxxxxx> wrote:
Hi guys

I have some tests failures on Python SDK (19 failures exactly).

They all look the same, for instance:

FAIL: testIndexing
(apache_beam.typehints.trivial_inference_test.TrivialInferenceTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/jbonofre/Workspace/beam/sdks/python/apache_beam/typehints/trivial_inference_test.py",
line 41, in testIndexing
    self.assertReturnType(int, lambda x: x[0], [typehints.Tuple[int, str]])
  File
"/home/jbonofre/Workspace/beam/sdks/python/apache_beam/typehints/trivial_inference_test.py",
line 35, in assertReturnType
    self.assertEquals(expected, trivial_inference.infer_return_type(f,
inputs))
AssertionError: <class 'int'> != Any


Does someone else have the same issue ?

Thanks,
Regards
JB
--
Jean-Baptiste Onofré
jbonofre@xxxxxxxxxx
http://blog.nanthrax.net
Talend - http://www.talend.com