Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BTrees
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
BTrees
Commits
cd197117
Commit
cd197117
authored
Oct 22, 2018
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update tests for persistent 4.4.3
parent
2c430dd2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
BTrees/tests/common.py
BTrees/tests/common.py
+7
-8
setup.py
setup.py
+1
-1
No files found.
BTrees/tests/common.py
View file @
cd197117
...
...
@@ -376,11 +376,10 @@ class MappingBase(Base):
self
.
assertTrue
(
r
.
endswith
(
repr
(
t
.
items
())
+
')'
),
r
)
else
:
# persistent-4.4 changed the default reprs, adding
# oid and jar reprs
, but eliminating the module prefix
# in one implementation
# oid and jar reprs
self
.
assertIn
(
"<BTrees."
,
r
)
self
.
assertIn
(
'BTree object at'
,
r
)
self
.
assertIn
(
'oid'
,
r
)
self
.
assertIn
(
'12345678'
,
r
)
self
.
assertIn
(
'oid 0x3132333435363738'
,
r
)
# Make sure it's the same between Python and C
self
.
assertNotIn
(
'Py'
,
r
)
...
...
@@ -1396,11 +1395,11 @@ class NormalSetTests(Base):
self
.
assertTrue
(
r
.
endswith
(
"Set(%r)"
%
t
.
keys
()))
else
:
# persistent-4.4 changed the default reprs, adding
# oid and jar reprs
, but eliminating the module prefix
# in one implementation
# oid and jar reprs
self
.
assertIn
(
"<BTrees."
,
r
)
self
.
assertIn
(
'TreeSet object at'
,
r
)
self
.
assertIn
(
'oid'
,
r
)
self
.
assertIn
(
'12345678'
,
r
)
self
.
assertIn
(
'oid
0x3132333435363738
'
,
r
)
# Make sure it's the same between Python and C
self
.
assertNotIn
(
'Py'
,
r
)
...
...
setup.py
View file @
cd197117
...
...
@@ -140,7 +140,7 @@ REQUIRES = [
TESTS_REQUIRE
=
[
# Our tests check for the new repr strings
# generated in persistent 4.4.
'persistent >= 4.4.
2
'
,
'persistent >= 4.4.
3
'
,
'transaction'
,
'zope.testrunner'
,
]
...
...
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