From ec7d5e464732cc2e155a4f2ccf96bfd712404c34 Mon Sep 17 00:00:00 2001 From: znapy <1570970+znapy@users.noreply.github.com> Date: Thu, 24 Oct 2024 11:47:32 +0000 Subject: [PATCH] fix test for windows environment --- spyder/plugins/pylint/tests/test_pylint.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/spyder/plugins/pylint/tests/test_pylint.py b/spyder/plugins/pylint/tests/test_pylint.py index e755dff0190..d03b39e9e1d 100644 --- a/spyder/plugins/pylint/tests/test_pylint.py +++ b/spyder/plugins/pylint/tests/test_pylint.py @@ -340,11 +340,7 @@ def test_get_environment(mocker): """Test that the environment variables depend on the OS.""" if os.name == 'nt': mocker.patch( - "spyder.plugins.pylint.main_widget.is_conda_based_app", - return_value=False - ) - mocker.patch( - "spyder.plugins.pylint.main_widget.is_anaconda", + "spyder.plugins.pylint.main_widget.is_conda_env", return_value=False ) mocker.patch(