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
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
Nicolas Wavrant
ZODB
Commits
8faf6aa4
Commit
8faf6aa4
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
8317fe75
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 @
8faf6aa4
...
...
@@ -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