diff options
Diffstat (limited to 'src/python')
-rw-r--r-- | src/python/test/test_persistence_graphical_tools.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/python/test/test_persistence_graphical_tools.py b/src/python/test/test_persistence_graphical_tools.py index 44decdd7..c19836b7 100644 --- a/src/python/test/test_persistence_graphical_tools.py +++ b/src/python/test/test_persistence_graphical_tools.py @@ -97,13 +97,13 @@ def test_limit_to_max_intervals(): def _limit_plot_persistence(function): pplot = function(persistence=[]) - assert issubclass(type(pplot), plt.axes.SubplotBase) + assert isinstance(pplot, plt.axes.SubplotBase) pplot = function(persistence=[], legend=True) - assert issubclass(type(pplot), plt.axes.SubplotBase) + assert isinstance(pplot, plt.axes.SubplotBase) pplot = function(persistence=[(0, float("inf"))]) - assert issubclass(type(pplot), plt.axes.SubplotBase) + assert isinstance(pplot, plt.axes.SubplotBase) pplot = function(persistence=[(0, float("inf"))], legend=True) - assert issubclass(type(pplot), plt.axes.SubplotBase) + assert isinstance(pplot, plt.axes.SubplotBase) def test_limit_plot_persistence(): |