Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
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
Joshua
wendelin.core
Commits
b37dfbd2
Commit
b37dfbd2
authored
Dec 24, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
f82dc053
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
bigfile/file_zodb.py
bigfile/file_zodb.py
+1
-2
bigfile/tests/test_filezodb.py
bigfile/tests/test_filezodb.py
+1
-1
No files found.
bigfile/file_zodb.py
View file @
b37dfbd2
...
...
@@ -781,9 +781,8 @@ class _ZBigFileH(object):
def
invalidate_page
(
self
,
pgoffset
):
return
self
.
zfileh
.
invalidate_page
(
pgoffset
)
@
property
def
uses_mmap_overlay
(
self
):
return
self
.
zfileh
.
uses_mmap_overlay
return
self
.
zfileh
.
uses_mmap_overlay
()
# ~~~~ ISynchronizer ~~~~
...
...
bigfile/tests/test_filezodb.py
View file @
b37dfbd2
...
...
@@ -139,7 +139,7 @@ def test_bigfile_filezodb():
# evict all loaded pages and test loading them again
# (verifies ZBlk.loadblkdata() & loadblk logic when loading data the second time)
reclaimed
=
ram_reclaim_all
()
if
fh
.
uses_mmap_overlay
:
if
fh
.
uses_mmap_overlay
()
:
assert
reclaimed
==
0
else
:
assert
reclaimed
>=
blen
# XXX assumes pagesize=blksize
...
...
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