Parcourir la source

tests: Fix Filename test to match paths case-insensitively

rdb il y a 5 ans
Parent
commit
c7341bec26
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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__)
     fn = Filename(path)
-    assert fn.to_os_specific_w() == str(path)
+    assert fn.to_os_specific_w().lower() == str(path).lower()