Merge pull request #1127 from michael-k/indentation

[doc] Fixed indentation
This commit is contained in:
Ronny Pfannschmidt 2015-10-10 14:22:18 +02:00
commit 1525cc78f6
1 changed files with 2 additions and 2 deletions

View File

@ -192,8 +192,8 @@ provides an alternative explanation for ``Foo`` objects::
from test_foocompare import Foo from test_foocompare import Foo
def pytest_assertrepr_compare(op, left, right): def pytest_assertrepr_compare(op, left, right):
if isinstance(left, Foo) and isinstance(right, Foo) and op == "==": if isinstance(left, Foo) and isinstance(right, Foo) and op == "==":
return ['Comparing Foo instances:', return ['Comparing Foo instances:',
' vals: %s != %s' % (left.val, right.val)] ' vals: %s != %s' % (left.val, right.val)]
now, given this test module:: now, given this test module::