Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
b6abbaab
Commit
b6abbaab
authored
Oct 01, 2009
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed stupid test bug. It's a but disturbing that the affected test
usually passed. :(
parent
c42ed718
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/ZODB/tests/testFileStorage.py
src/ZODB/tests/testFileStorage.py
+2
-1
No files found.
src/ZODB/tests/testFileStorage.py
View file @
b6abbaab
...
...
@@ -219,6 +219,7 @@ class FileStorageTests(
from
ZODB.utils
import
U64
,
p64
from
ZODB.FileStorage.format
import
CorruptedError
from
ZODB.serialize
import
referencesf
db
=
DB
(
self
.
_storage
)
conn
=
db
.
open
()
...
...
@@ -251,7 +252,7 @@ class FileStorageTests(
# Try to pack. This used to yield
# NameError: global name 's' is not defined
try
:
self
.
_storage
.
pack
(
time
.
time
(),
None
)
self
.
_storage
.
pack
(
time
.
time
(),
referencesf
)
except
CorruptedError
,
detail
:
self
.
assert_
(
"redundant transaction length does not match "
"initial transaction length"
in
str
(
detail
))
...
...
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