diff --git a/test/test_wrapper.py b/test/test_wrapper.py index 66b1bbc463ea95ac7c3abbe2c97737b897938a9e..07f32522dc6af789e44812521ec6501803b1ad7c 100644 --- a/test/test_wrapper.py +++ b/test/test_wrapper.py @@ -293,16 +293,18 @@ def test_image_format_constructor(): assert iform.channel_data_type == cl.channel_type.FLOAT assert not iform.__dict__ + def test_device_topology_amd_constructor(): # doesn't need cl_amd_device_attribute_query support to succeed - topol = cl.DeviceTopologyAmd(3,4,5) + topol = cl.DeviceTopologyAmd(3, 4, 5) assert topol.bus == 3 assert topol.device == 4 assert topol.function == 5 - + assert not topol.__dict__ + def test_nonempty_supported_image_formats(ctx_factory): context = ctx_factory()