From: Johannes Berg Date: Sun, 5 Dec 2021 20:32:14 +0000 (+0100) Subject: test_index: don't create an extra writer X-Git-Url: https://arthur.ath.cx/gitweb/?a=commitdiff_plain;h=7624ec133ef072fe08b6bcbdeabfa21edee51bfc;p=bup.git 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 Reviewed-by: Rob Browning Tested-by: Rob Browning --- diff --git a/test/int/test_index.py b/test/int/test_index.py index 51eab85..c242513 100644 --- a/test/int/test_index.py +++ b/test/int/test_index.py @@ -111,7 +111,6 @@ def test_index_dirty(tmpdir): #w1.close() WVPASS() - w2 = index.Writer(b'index2.tmp', ms2, tmax) w2.add(b'/a/b/n/2', fs, meta_ofs2) #w2.close() WVPASS()