Commits

Tarashish Mishra committed 2e4d5b3 Draft

We don't want pytest in production

Comments (0)

Files changed (1)

MoinMoin/converter/rst_in.py

 from __future__ import absolute_import, division
 
 import re
-import pytest
 
 from MoinMoin import log
 logging = log.getLogger(__name__)
 from ._util import allowed_uri_scheme, decode_data, normalize_split_text
 
 #### TODO: try block (do not crash if we don't have docutils)
-pytest.importorskip('docutils')
 from docutils import nodes, utils, writers, core
 from docutils.parsers.rst import Parser
 from docutils.nodes import reference, literal_block