Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
027cf9d5
Commit
027cf9d5
authored
May 18, 2013
by
Tres Seaver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Windows paths, too.
parent
acd73b1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/ZODB/tests/testblob.py
src/ZODB/tests/testblob.py
+2
-1
No files found.
src/ZODB/tests/testblob.py
View file @
027cf9d5
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment