File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -838,7 +838,7 @@ def test_typed_array():
838
838
ob = Test .TypedArrayTest ()
839
839
ob .items ["wrong" ] = Spam ("0" )
840
840
841
- # These cases fail
841
+ # FIXME: These cases fail
842
842
#with pytest.raises(TypeError):
843
843
# ob = Test.TypedArrayTest()
844
844
# _ = ob.items[0.5]
@@ -919,7 +919,7 @@ def test_multi_dimensional_array():
919
919
ob = Test .MultiDimensionalArrayTest ()
920
920
ob .items ["0" , 0 ] = 0
921
921
922
- # These cases fail
922
+ # FIXME: These cases fail
923
923
#with pytest.raises(TypeError):
924
924
# ob = Test.MultiDimensionalArrayTest()
925
925
# _ = ob.items[0.5, 0]
Original file line number Diff line number Diff line change @@ -298,9 +298,8 @@ def test_generic_method_type_handling():
298
298
from Python .Test import InterfaceTest , ISayHello1 , ShortEnum
299
299
import System
300
300
301
- # FIXME: The value doesn't fit into Int64 and PythonNet doesn't
302
- # recognize it as UInt64 for unknown reasons.
303
- # assert_generic_method_by_type(System.UInt64, 18446744073709551615L)
301
+ # FIXME: Fails because Converter.GetTypeByAlias returns int32 for any integer, including ulong
302
+ # assert_generic_method_by_type(System.UInt64, 18446744073709551615)
304
303
assert_generic_method_by_type (System .Boolean , True )
305
304
assert_generic_method_by_type (bool , True )
306
305
assert_generic_method_by_type (System .Byte , 255 )
You can’t perform that action at this time.
0 commit comments