-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chris Withers schrieb: > Guenter Milde wrote: >> But it should work if you put the example in an indented literal block: > > Nothing to do with it :-S > >> All of the following block should show up in the output:: >> >> >>> from testfixtures import compare >> >>> compare(1, >> ... 2) >> Traceback (most recent call last): >> ... >> AssertionError: 1 != 2 > > Actually, chatting with Georg on IRC, it turned out to be:
Actually, that was R. David Murray, not me :) > >>> from testfixtures import compare > >>> compare(1, > ... 2) > Traceback (most recent call last): > ... > AssertionError: 1 != 2 > > Note the very subtle difference. It's a bug, but the above is a > workaround for now... There is still weird indentation in your example. No line should be indented less than the ">>>" prompts. Georg -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (GNU/Linux) iEYEARECAAYFAkr8WpIACgkQN9GcIYhpnLDcpQCgr3Gl39Oyui582jLVCohyPREC wvcAn0JSIbfNH4wH0fJHG1qUg34dhaIb =mtai -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en -~----------~----~----~----~------~----~------~--~---
