[py-svn] [hpk42/pytest] Trailing blank on doctest boolean should be stripped, or include quotes in error report (issue #233)

Jeff Pittman issues-reply at bitbucket.org
Wed Nov 28 20:29:37 CET 2012


--- you can reply above this line ---

New issue 233: Trailing blank on doctest boolean should be stripped, or include quotes in error report
https://bitbucket.org/hpk42/pytest/issue/233/trailing-blank-on-doctest-boolean-should

Jeff Pittman:

In a browser test such as:

  >>> browser.open(testing.BASE_URL + '/software-collection/')
  >>> pos = browser.contents.index
  >>> pos("item one") > pos("item two")
  True

if you have a trailing blank at the end of True, you will get an error like:

Expected:
    True 
Got:
    True

which is hard to see.


--

This is an issue notification from bitbucket.org. You are receiving
this either because you are the owner of the issue, or you are
following the issue.



More information about the pytest-commit mailing list