designspace_test: compare normalized paths
https://github.com/fonttools/fonttools/issues/1259#issuecomment-450910787
This commit is contained in:
parent
e640806657
commit
b3e8f76b64
@ -792,7 +792,7 @@ def test_getSourcePath(tmpdir):
|
||||
s1 = SourceDescriptor()
|
||||
s1.path = str(tmpdir / "foo"/ "masters" / "Source1.ufo")
|
||||
|
||||
assert doc.getSourcePath(s1) == s1.path
|
||||
assert doc.getSourcePath(s1) == os.path.normpath(s1.path)
|
||||
|
||||
s1.path = None
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user