From 382b7d30b196672a7cfa798cc55bd3597b4b7f9f Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Wed, 3 Aug 2016 19:46:15 -0500 Subject: [PATCH] test_wrapper PEP8 fixes --- test/test_wrapper.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/test_wrapper.py b/test/test_wrapper.py index 66b1bbc4..07f32522 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() -- GitLab