Skip to content

Commit 173b214

Browse files
committed
remove printing to stderr.
That was an attempt to get the full stdout/stderr output to be produced by pytest for a test marked xfail.
1 parent 9a57904 commit 173b214

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_templating.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -717,8 +717,8 @@ def test_string_markdown_code_block_attribute(self):
717717
test_output = m.replace('\n\n', '\n')
718718
expected_result = '<p>embedded code block &lt;pre&gt;</p>\n<div class="codehilite"><pre><span></span><code><span class="n">line</span> <span class="mi">1</span>\n<span class="n">line</span> <span class="mi">2</span>\n</code></pre></div>\n<p>new &lt;/pre&gt; paragraph</p>g'
719719
if test_output != expected_result:
720-
print("test_output:", test_output, file=sys.stderr)
721-
print("expected_result:", expected_result, file=sys.stderr)
720+
print("test_output:", test_output)
721+
print("expected_result:", expected_result)
722722
self.assertEqual( test_output, expected_result)
723723

724724
def test_markdown_return_text_on_exception(self):

0 commit comments

Comments
 (0)