diff options
author | Vincent Rouvreau <vincent.rouvreau@inria.fr> | 2022-05-16 13:47:16 +0200 |
---|---|---|
committer | Vincent Rouvreau <vincent.rouvreau@inria.fr> | 2022-05-16 13:47:16 +0200 |
commit | 393216cc99af79526b1bb90ae4da21116884bcbd (patch) | |
tree | 975cfc0b4d8cccb7ef5861ea2dba9dcdc25c0fea /src/python/test/test_persistence_graphical_tools.py | |
parent | 3952b61604db976f4864b85ebdafa0962766b8bc (diff) |
code review: limit test was not respecting the one described in the documentation
Diffstat (limited to 'src/python/test/test_persistence_graphical_tools.py')
-rw-r--r-- | src/python/test/test_persistence_graphical_tools.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/python/test/test_persistence_graphical_tools.py b/src/python/test/test_persistence_graphical_tools.py index 994791d7..44decdd7 100644 --- a/src/python/test/test_persistence_graphical_tools.py +++ b/src/python/test/test_persistence_graphical_tools.py @@ -96,9 +96,9 @@ def test_limit_to_max_intervals(): def _limit_plot_persistence(function): - pplot = function(persistence=[()]) + pplot = function(persistence=[]) assert issubclass(type(pplot), plt.axes.SubplotBase) - pplot = function(persistence=[()], legend=True) + pplot = function(persistence=[], legend=True) assert issubclass(type(pplot), plt.axes.SubplotBase) pplot = function(persistence=[(0, float("inf"))]) assert issubclass(type(pplot), plt.axes.SubplotBase) |