From 217e60b853d39c0501ce19d5d78a02fc6412f5af Mon Sep 17 00:00:00 2001 From: Merel Theisen <49397448+merelcht@users.noreply.github.com> Date: Wed, 23 Oct 2024 11:15:57 +0100 Subject: [PATCH] build: Bump matplotlib test dependency (#904) * Bump matplotlib test dependency Signed-off-by: Merel Theisen * Fix matplotlib test Signed-off-by: Merel Theisen --------- Signed-off-by: Merel Theisen Signed-off-by: tdhooghe --- kedro-datasets/pyproject.toml | 2 +- kedro-datasets/tests/matplotlib/test_matplotlib_writer.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kedro-datasets/pyproject.toml b/kedro-datasets/pyproject.toml index fa57d08ba..31aaa9b39 100644 --- a/kedro-datasets/pyproject.toml +++ b/kedro-datasets/pyproject.toml @@ -224,7 +224,7 @@ test = [ "jupyterlab>=3.0", "jupyter~=1.0", "lxml~=4.6", - "matplotlib>=3.5, <3.6", + "matplotlib>=3.5, <4.0", "memory_profiler>=0.50.0, <1.0", "moto==5.0.0", "networkx~=2.4", diff --git a/kedro-datasets/tests/matplotlib/test_matplotlib_writer.py b/kedro-datasets/tests/matplotlib/test_matplotlib_writer.py index 4cdb58e92..1b5733471 100644 --- a/kedro-datasets/tests/matplotlib/test_matplotlib_writer.py +++ b/kedro-datasets/tests/matplotlib/test_matplotlib_writer.py @@ -129,7 +129,7 @@ def cleanup_plt(): class TestMatplotlibWriter: - @pytest.mark.parametrize("save_args", [{"k1": "v1"}], indirect=True) + @pytest.mark.parametrize("save_args", [{"format": "png"}], indirect=True) def test_save_data( self, tmp_path, mock_single_plot, plot_writer, mocked_s3_bucket, save_args ):