Skip to content

Commit 2fc8be6

Browse files
Copilotsbillinge
andcommitted
Fix formatting issues in test_dll_loading.py
Co-authored-by: sbillinge <4254545+sbillinge@users.noreply.github.com>
1 parent 28c48db commit 2fc8be6

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

tests/test_dll_loading.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,22 @@ def test_import_succeeds():
1313

1414
def test_windows_dll_directory_handling():
1515
"""Verify Windows DLL directory handling doesn't raise errors."""
16-
# This test verifies that the Windows-specific DLL directory initialization
17-
# in __init__.py doesn't cause issues on any platform.
18-
16+
# This test verifies that the Windows-specific DLL directory
17+
# initialization in __init__.py doesn't cause issues on any platform.
18+
1919
# The actual DLL directory logic is executed during module import,
2020
# so if we got this far, it succeeded.
21-
21+
2222
# On Windows with Python 3.8+, verify the logic would have run
2323
if sys.platform == "win32" and sys.version_info >= (3, 8):
2424
# Check that CONDA_PREFIX environment variable handling works
2525
conda_prefix = os.environ.get("CONDA_PREFIX")
2626
if conda_prefix:
2727
lib_bin_dir = os.path.join(conda_prefix, "Library", "bin")
2828
# The directory should exist in a proper conda environment
29-
# but we don't assert this as it may not exist in all test environments
29+
# but we don't assert this as it may not exist in all test
30+
# environments
3031
assert isinstance(lib_bin_dir, str)
31-
32+
3233
# Test passes if no exceptions are raised
3334
assert True

0 commit comments

Comments
 (0)