Skip to content

Commit 8845ff0

Browse files
[autofix.ci] apply automated fixes
1 parent 6c4cd16 commit 8845ff0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

test/test_search.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import json
22
from pathlib import Path
3-
import shutil
43
import subprocess
54

65
from pdoc import search
@@ -32,10 +31,7 @@ def test_precompile_index(monkeypatch, capsys):
3231
== '{"foo": 42, "_isPrebuiltIndex": true}'
3332
)
3433
monkeypatch.setattr(search, "node_executable", lambda: None)
35-
assert (
36-
search.precompile_index(docs, compile_js)
37-
== json.dumps(docs)
38-
)
34+
assert search.precompile_index(docs, compile_js) == json.dumps(docs)
3935

4036
def _raise(*_, **__):
4137
raise subprocess.CalledProcessError(-1, ["cmd"], b"nodejs error")

0 commit comments

Comments
 (0)