~testtools-dev/testtools/trunk

« back to all changes in this revision

Viewing changes to NEWS

Merge heroic branch that makes unicode actually work!

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
  now deprecated.  Please stop using it.
15
15
  (Jonathan Lange, #813460)
16
16
 
 
17
* ``assertThat`` raises ``MismatchError`` instead of
 
18
  ``TestCase.failureException``.  ``MismatchError`` is a subclass of
 
19
  ``AssertionError``, so in most cases this change will not matter. However,
 
20
  if ``self.failureException`` has been set to a non-default value, then
 
21
  mismatches will become test errors rather than test failures.
 
22
 
17
23
* ``gather_details`` takes two dicts, rather than two detailed objects.
18
24
  (Jonathan Lange, #801027)
19
25
 
30
36
* All public matchers are now in ``testtools.matchers.__all__``.
31
37
  (Jonathan Lange, #784859)
32
38
 
33
 
* assertThat output is much less verbose, displaying only what the mismatch
 
39
* ``assertThat`` can actually display mismatches and matchers that contain
 
40
  extended unicode characters. (Jonathan Lange, Martin [gz], #804127)
 
41
 
 
42
* ``assertThat`` output is much less verbose, displaying only what the mismatch
34
43
  tells us to display. Old-style verbose output can be had by passing
35
44
  ``verbose=True`` to assertThat. (Jonathan Lange, #675323, #593190)
36
45