We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d0a384 commit 0593277Copy full SHA for 0593277
tests/test_formats.py
@@ -252,7 +252,10 @@ def test_too_small_max_file_size_add(self):
252
genotypes=np.zeros(base_size, dtype=np.int8),
253
)
254
# Work around https://github.com/tskit-dev/tsinfer/issues/201
255
- small_sample_file.data.store.close()
+ try:
256
+ small_sample_file.data.store.close()
257
+ except UnboundLocalError:
258
+ pass
259
260
def test_acceptable_max_file_size(self):
261
with tempfile.TemporaryDirectory(prefix="tsinf_format_test") as tempdir:
0 commit comments