changeset 773:e031a34d248a pytest2

keyword 'py' and 'py.test' changed to pytest in converter.rst_in
author pkumar <contactprashantat@gmail.com>
date Tue, 23 Aug 2011 12:59:47 +0530
parents c3ec667a4bfa
children ada8cbfc165d
files MoinMoin/converter/rst_in.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/converter/rst_in.py	Tue Aug 23 11:41:32 2011 +0530
+++ b/MoinMoin/converter/rst_in.py	Tue Aug 23 12:59:47 2011 +0530
@@ -18,7 +18,7 @@
 from __future__ import absolute_import, division
 
 import re
-import py
+import pytest
 
 from MoinMoin import log
 logging = log.getLogger(__name__)
@@ -32,7 +32,7 @@
 from ._util import decode_data, normalize_split_text
 
 #### TODO: try block (do not crash if we don't have docutils)
-py.test.importorskip('docutils')
+pytest.importorskip('docutils')
 from docutils import nodes, utils, writers, core
 from docutils.parsers.rst import Parser
 from docutils.nodes import reference, literal_block