Commit 027cf9d5 authored by Tres Seaver's avatar Tres Seaver

Windows paths, too.

parent acd73b1a
...@@ -152,7 +152,8 @@ class BushyLayoutTests(ZODB.tests.util.TestCase): ...@@ -152,7 +152,8 @@ class BushyLayoutTests(ZODB.tests.util.TestCase):
oid_as_path = BushyLayout().oid_to_path(non_ascii_oid) oid_as_path = BushyLayout().oid_to_path(non_ascii_oid)
self.assertEqual( self.assertEqual(
oid_as_path, oid_as_path,
'0x3e/0xf1/0x3c/0x30/0xe9/0x51/0x99/0xf0') os.path.sep.join(
'0x3e/0xf1/0x3c/0x30/0xe9/0x51/0x99/0xf0'.split('/')))
# the reverse holds true as well # the reverse holds true as well
path_as_oid = BushyLayout().path_to_oid(oid_as_path) path_as_oid = BushyLayout().path_to_oid(oid_as_path)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment