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 6c4cd16 commit 8845ff0Copy full SHA for 8845ff0
test/test_search.py
@@ -1,6 +1,5 @@
1
import json
2
from pathlib import Path
3
-import shutil
4
import subprocess
5
6
from pdoc import search
@@ -32,10 +31,7 @@ def test_precompile_index(monkeypatch, capsys):
32
31
== '{"foo": 42, "_isPrebuiltIndex": true}'
33
)
34
monkeypatch.setattr(search, "node_executable", lambda: None)
35
- assert (
36
- search.precompile_index(docs, compile_js)
37
- == json.dumps(docs)
38
- )
+ assert search.precompile_index(docs, compile_js) == json.dumps(docs)
39
40
def _raise(*_, **__):
41
raise subprocess.CalledProcessError(-1, ["cmd"], b"nodejs error")
0 commit comments