Add tests for issue #5020: silent conversion to float #7386
Annotations
2 errors
Python tests C++11:
tests/test_enum.py#L249
test_enum_to_float
AssertionError: assert False
+ where False = <bound method str.startswith of 'test_enum_to_float(): incompatible function arguments. The following argument types are supported:\n 1. (arg0: float) -> None\n\nInvoked with: <ScopedBoolEnum.TRUE: 1>'>('TypeError: test_enum_to_float(): incompatible function arguments.')
+ where <bound method str.startswith of 'test_enum_to_float(): incompatible function arguments. The following argument types are supported:\n 1. (arg0: float) -> None\n\nInvoked with: <ScopedBoolEnum.TRUE: 1>'> = '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.
|
The logs for this run have expired and are no longer available.
Loading