Merge pull request #1559 from pbrod/Fix_test_propgridprops2

Fixes issue #1549: test_propgridprops12 fails on windows
This commit is contained in:
Robin Dunn
2020-03-20 14:49:10 -07:00
committed by GitHub

View File

@@ -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):