Refactor logging code: Remove unnecessary blank lines in logging setup and cleanup functions for improved readability. Update tests to reflect formatting changes.

This commit is contained in:
yashksaini-coder
2025-09-02 01:39:24 +05:30
parent 84c1a7031a
commit 145727a9ba
3 changed files with 14 additions and 12 deletions

View File

@ -220,11 +220,11 @@ class TestCrossPlatformCompatibility:
def test_config_dir_platform_specific_windows(self, monkeypatch):
"""Test config directory respects Windows conventions."""
import platform
# Only run this test on Windows systems
if platform.system() != "Windows":
pytest.skip("This test only runs on Windows systems")
monkeypatch.setattr("os.name", "nt")
monkeypatch.setenv("APPDATA", "C:\\Users\\Test\\AppData\\Roaming")
config_dir = get_config_dir()