]> arthur.barton.de Git - bup.git/commit
test_index: don't create an extra writer
authorJohannes Berg <johannes@sipsolutions.net>
Sun, 5 Dec 2021 20:32:14 +0000 (21:32 +0100)
committerRob Browning <rlb@defaultvalue.org>
Sun, 19 Dec 2021 19:03:48 +0000 (13:03 -0600)
commit7624ec133ef072fe08b6bcbdeabfa21edee51bfc
tree85a92a0d86a7d45e470350bbe969a4fa6c841fe8
parent22e2df2ce1c28e900bc06a9bac4ffd17019c22d6
test_index: don't create an extra writer

This was erroneously left over when changing to
context management, and my (new?) version of pytest
started warning on it.

Fixes: f26a6a9ec9d7 ("index.Writer.__del__: replace with context management")
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
test/int/test_index.py