瀏覽代碼

tests: Fix Filename test to match paths case-insensitively

rdb 5 年之前
父節點
當前提交
c7341bec26
共有 1 個文件被更改,包括 1 次插入1 次删除
  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()