Add tests for issue #5020: silent conversion to float #7387
Annotations
2 errors
Python tests C++11:
tests/test_enum.py#L249
test_enum_to_float
AssertionError: assert False
+ where False = <built-in method startswith of str object at 0x7f7da7459108>('TypeError: test_enum_to_float(): incompatible function arguments.')
+ where <built-in method startswith of str object at 0x7f7da7459108> = 'test_enum_to_float(): incompatible function arguments. The following argument types are supported:\n 1. (arg0: float) -> None\n\nInvoked with: <ScopedBoolEnum.TRUE: 1>'.startswith
+ where 'test_enum_to_float(): incompatible function arguments. The following argument types are supported:\n 1. (arg0: float) -> None\n\nInvoked with: <ScopedBoolEnum.TRUE: 1>' = str(TypeError('test_enum_to_float(): incompatible function arguments. The following argument types are supported:\n 1. (arg0: float) -> None\n\nInvoked with: <ScopedBoolEnum.TRUE: 1>',))
+ where TypeError('test_enum_to_float(): incompatible function arguments. The following argument types are supported:\n 1. (arg0: float) -> None\n\nInvoked with: <ScopedBoolEnum.TRUE: 1>',) = <ExceptionInfo TypeError('test_enum_to_float(): incompatible function arguments. The following argument types are supported:\n 1. (arg0: float) -> None\n\nInvoked with: <ScopedBoolEnum.TRUE: 1>',) tblen=1>.value
|
Python tests C++11
Process completed with exit code 2.
|
Loading