expectThat doesn't report the line number of failed expectations

Bug #1443754 reported by Robert Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
testtools
Triaged
Medium
Unassigned

Bug Description

e.g.:

FAIL: pbr.tests.test_version.TestSemanticVersion.test_ordering
tags: worker-0
----------------------------------------------------------------------
Empty attachments:
  pythonlogging:''
  pythonlogging:'pbr'
  stderr
  stdout

Failed expectation: {{{
MismatchError: is not >:
reference = pbr.version.SemanticVersion(1.2.3.0a4.dev12)
actual = pbr.version.SemanticVersion(1.2.3.dev6)
}}}

Failed expectation-1: {{{
MismatchError: is not <:
reference = pbr.version.SemanticVersion(1.2.3.dev6)
actual = pbr.version.SemanticVersion(1.2.3.0a4.dev12)
}}}

Traceback (most recent call last):
AssertionError: Forced Test Failure

Changed in testtools:
status: New → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.