Commit 39bd3be0 authored by Jim Fulton's avatar Jim Fulton

3.6 formats errors differently.

parent 9bbcc911
...@@ -15,7 +15,7 @@ The handers before calling set up are: ...@@ -15,7 +15,7 @@ The handers before calling set up are:
>>> len(logging.getLogger().handlers) >>> len(logging.getLogger().handlers)
1 1
>>> logging.getLogger().handlers # doctest: +ELLIPSIS >>> logging.getLogger().handlers # doctest: +ELLIPSIS
[<zope...testrunner.logsupport.NullHandler ... at ...>] [<...NullHandler...>]
After calling it, a ``logging.StreamHandler`` was added: After calling it, a ``logging.StreamHandler`` was added:
...@@ -27,8 +27,7 @@ After calling it, a ``logging.StreamHandler`` was added: ...@@ -27,8 +27,7 @@ After calling it, a ``logging.StreamHandler`` was added:
>>> len(logging.getLogger().handlers) >>> len(logging.getLogger().handlers)
2 2
>>> logging.getLogger().handlers # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE >>> logging.getLogger().handlers # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
[<zope...testrunner.logsupport.NullHandler ... at ...>, [<...NullHandler...StreamHandler...>]
<logging.StreamHandler ... at ...>]
But tear down removes the new logging handler: But tear down removes the new logging handler:
...@@ -36,4 +35,4 @@ But tear down removes the new logging handler: ...@@ -36,4 +35,4 @@ But tear down removes the new logging handler:
>>> len(logging.getLogger().handlers) >>> len(logging.getLogger().handlers)
1 1
>>> logging.getLogger().handlers # doctest: +ELLIPSIS >>> logging.getLogger().handlers # doctest: +ELLIPSIS
[<zope...testrunner.logsupport.NullHandler ... at ...>] [<...NullHandler...>]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment