[PATCH 1/1] test_large_bloom: write filter to tmpdir

2 views
Skip to first unread message

Rob Browning

unread,
Mar 13, 2026, 5:36:57 PM (20 hours ago) Mar 13
to bup-...@googlegroups.com
Signed-off-by: Rob Browning <r...@defaultvalue.org>
Tested-by: Rob Browning <r...@defaultvalue.org>
---

Pushed to main.

test/int/test_bloom.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/int/test_bloom.py b/test/int/test_bloom.py
index 68ece564..1fcc3772 100644
--- a/test/int/test_bloom.py
+++ b/test/int/test_bloom.py
@@ -41,7 +41,8 @@ def test_large_bloom(tmpdir):
# architecture), and anywhere else where the address space is
# sufficiently limited.
try:
- with bloom.create(b'bup.bloom', expected=2**28, delaywrite=False) as b:
+ with bloom.create(tmpdir + b'/bup.bloom', expected=2**28,
+ delaywrite=False) as b:
assert b.k == 4
except EnvironmentError as ex:
if sys.maxsize > 2**32 or ex.errno != errno.ENOMEM:
--
2.47.3

Reply all
Reply to author
Forward
0 new messages