Path: fix test failure with MSYS2 build
The two path names have different path separators and thus are considered as different
This commit is contained in:
@@ -474,7 +474,10 @@ class TestOutputNameSubstitution(unittest.TestCase):
|
||||
outlist = PathPost.buildPostList(self.job)
|
||||
subpart, objs = outlist[0]
|
||||
filename = PathPost.resolveFileName(self.job, subpart, 0)
|
||||
self.assertEqual(filename, f"{self.macro}outfile.nc")
|
||||
self.assertEqual(
|
||||
os.path.normpath(filename),
|
||||
os.path.normpath(f"{self.macro}outfile.nc")
|
||||
)
|
||||
|
||||
def test040(self):
|
||||
# unused substitution strings should be ignored
|
||||
|
||||
Reference in New Issue
Block a user