Skip to content

Commit bee95e9

Browse files
committed
update README and remove extra close() from test!
1 parent cf11308 commit bee95e9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ You can run LanguageTool on one host and connect to it from another. This is us
151151

152152
## Configuration
153153

154-
LanguageTool offers lots of built-in configuration options. See the LanguageTool [HTTPServerConfig](https://languagetool.org/development/api/org/languagetool/server/HTTPServerConfig.html) documentation for some
154+
LanguageTool offers lots of built-in configuration options.
155155

156156
### Example: Enabling caching
157157
Here's an example of using the configuration options to enable caching. Some users have reported that this helps performance a lot.
@@ -171,6 +171,8 @@ tool = language_tool_python.LanguageTool('en-US', config={ 'maxTextLength': 100
171171

172172
### Full list of configuration options
173173

174+
Here's a full list of configuration options. See the LanguageTool [HTTPServerConfig](https://languagetool.org/development/api/org/languagetool/server/HTTPServerConfig.html) documentation for details.
175+
174176
```
175177
'maxTextLength' - maximum text length, longer texts will cause an error (optional)
176178
'maxTextHardLength' - maximum text length, applies even to users with a special secret 'token' parameter (optional)

tests/test_major_functionality.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ def test_process_starts_and_stops_on_close():
3434
# Make sure process stopped after close() was called.
3535
assert proc.poll() is not None, "tool._server should stop running after deletion"
3636
# remember --> if poll is None: # p.subprocess is alive
37-
tool.close()
3837

3938
def test_local_client_server_connection():
4039
import language_tool_python

0 commit comments

Comments
 (0)