diff --git a/unittests/test_propgridprops.py b/unittests/test_propgridprops.py index a6e84ca1..60f1a6be 100644 --- a/unittests/test_propgridprops.py +++ b/unittests/test_propgridprops.py @@ -1,3 +1,4 @@ +import os import unittest from unittests import wtc import wx.propgrid as pg @@ -86,7 +87,7 @@ class propgridprops_Tests(wtc.WidgetTestCase): p2 = pg.FileProperty('label', 'name', value) fn = p2.GetFileName() - assert fn == value + assert fn.replace(os.path.sep, '/') == value def test_propgridprops13(self):