[test] minor fix

macos tests are using absolute path which aren't relevant in Windows
This commit is contained in:
Ebrahim Byagowi 2020-03-14 20:05:23 +03:30 committed by GitHub
parent 74fdd34f4d
commit 0423da3373
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ for filename in args:
fontfile, options, unicodes, glyphs_expected = line.split (":") fontfile, options, unicodes, glyphs_expected = line.split (":")
if fontfile.startswith ('/') or fontfile.startswith ('"/'): if fontfile.startswith ('/') or fontfile.startswith ('"/'):
s.name == 'nt': # Skip on Window if s.name == 'nt': # Skip on Window
continue continue
fontfile, expected_hash = fontfile.split('@') fontfile, expected_hash = fontfile.split('@')