nltk.test.conftest module

nltk.test.conftest.mock_plot(mocker)[source]

Disable matplotlib plotting in test code

nltk.test.conftest.teardown_loaded_corpora()[source]

After each test session ends (either doctest or unit test), unload any loaded corpora