From a3c81700f24f22376aeb9659822fce6a9fa0dd9c Mon Sep 17 00:00:00 2001 From: Jeremy McRae Date: Fri, 27 Oct 2023 15:40:49 -0700 Subject: [PATCH] close test files to avoid error on windows CI --- tests/test_bgenwriter.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_bgenwriter.py b/tests/test_bgenwriter.py index fef1097..1f4bc58 100644 --- a/tests/test_bgenwriter.py +++ b/tests/test_bgenwriter.py @@ -322,6 +322,7 @@ def test_phased_data_different_sizes(self): for x in bfile: probs = x.probabilities self.assertTrue(probs_close(geno[:, :-1], probs[:, :-1], bit_depth=8)) + bfile.close() def test_ploidy_unphased(self): ''' check we can write unphased variants with variable ploidy per sample