Browse Source

tests: Fix Filename test to match paths case-insensitively

rdb 5 years ago
parent
commit
c7341bec26
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/dtoolutil/test_filename.py

+ 1 - 1
tests/dtoolutil/test_filename.py

@@ -21,4 +21,4 @@ def test_filename_ctor_pathlib():
 
 
     path = pathlib.Path(__file__)
     path = pathlib.Path(__file__)
     fn = Filename(path)
     fn = Filename(path)
-    assert fn.to_os_specific_w() == str(path)
+    assert fn.to_os_specific_w().lower() == str(path).lower()