File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -13,21 +13,22 @@ def test_import_succeeds():
1313
1414def 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
You can’t perform that action at this time.
0 commit comments