Skip to content

Commit

Permalink
try to fix open log file in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
trichter committed Jun 25, 2024
1 parent fb5c5ea commit 2b3dbac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions anchorna/tests/test_anchorna.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,12 @@ def test_anchorna_workflow_subset():
write_json(anchors, json)
assert load_json(json) == anchors

# try to fix open log file in windows
import logging
log = logging.getLogger('anchorna')
for handler in log.handlers:
handler.close()


@pytest.mark.slowtest
def test_reproduce_anchor_file_complete():
Expand Down

0 comments on commit 2b3dbac

Please sign in to comment.