Skip to content

Commit

Permalink
fix test for windows environment
Browse files Browse the repository at this point in the history
  • Loading branch information
znapy committed Oct 25, 2024
1 parent a460e70 commit ec7d5e4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions spyder/plugins/pylint/tests/test_pylint.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit ec7d5e4

Please sign in to comment.