mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
Merge pull request #6654 from jdufresne/str-bytes
Correct str/bytes mixup in utils/jssplitter_generator.py
This commit is contained in:
@@ -133,7 +133,7 @@ with open('../sphinx/search/jssplitter.py', 'w') as f:
|
||||
f.write(python_src)
|
||||
|
||||
with open('./regression_test.js', 'w') as f:
|
||||
f.write(js_test_src.encode())
|
||||
f.write(js_test_src)
|
||||
|
||||
print("starting test...")
|
||||
result = subprocess.call(['node', './regression_test.js'])
|
||||
|
||||
Reference in New Issue
Block a user