Skip to content

Commit 130d581

Browse files
fix: remove unused numpy import and unused variable in test_read_status.py (ruff F401, F841)
1 parent 7fc7d53 commit 130d581

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/test_read_status.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
import os
88
import pytest
9-
import numpy as np
109

1110

1211
# ---------------------------------------------------------------------------
@@ -123,8 +122,7 @@ def setup(self, temp_dir, monkeypatch):
123122
# Create an empty file
124123
in_dir = os.path.join(temp_dir, "in1")
125124
os.makedirs(in_dir, exist_ok=True)
126-
with open(os.path.join(in_dir, "ym"), "w") as f:
127-
pass # empty
125+
open(os.path.join(in_dir, "ym"), "w").close() # create empty file
128126

129127
monkeypatch.setattr(concore, "inpath", os.path.join(temp_dir, "in"))
130128

0 commit comments

Comments
 (0)