Skip to content

Commit ee28664

Browse files
committed
Fix ruff warnings
1 parent fd7969e commit ee28664

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_dawg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def test_c_dawg_contains():
1414

1515
d = dawg_python.Dictionary()
1616

17-
fd, path = tempfile.mkstemp()
17+
_fd, path = tempfile.mkstemp()
1818
bin_dawg.save(path)
1919

2020
with open(path, "rb") as f:
@@ -59,7 +59,7 @@ def test_completion(self):
5959

6060
def test_no_segfaults_on_invalid_file(self):
6161
d = self.dawg()
62-
fd, path = tempfile.mkstemp()
62+
_fd, path = tempfile.mkstemp()
6363
with open(path, "w") as f:
6464
f.write("foo")
6565

0 commit comments

Comments
 (0)