Skip to content

Commit

Permalink
using isintance for the type comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
robinroy03 committed Mar 13, 2024
1 parent 6a84176 commit f735ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fury/tests/test_actors.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit f735ad9

Please sign in to comment.