From f735ad931bbe46a9c03cdf5fb1702955fa6db9e5 Mon Sep 17 00:00:00 2001 From: Robin Roy Date: Wed, 13 Mar 2024 19:50:39 +0530 Subject: [PATCH] using isintance for the type comparison --- fury/tests/test_actors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fury/tests/test_actors.py b/fury/tests/test_actors.py index 9e9c04066..c04d0f60b 100644 --- a/fury/tests/test_actors.py +++ b/fury/tests/test_actors.py @@ -1906,7 +1906,7 @@ def test_texturedcube(interactive=False): cube_actor = cube.get_actor() # testing whether the returned is an Assembled Actor Object - assert type(cube_actor) is type(Assembly()) + assert isinstance(cube_actor, Assembly) # testing whether there are 6 different planes plane_actors = PropCollection()