it's the same with nose, btw:
```
$ nosetests --with-doctest 
FFFF.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
======================================================================
FAIL: Doctest: pyramid.config.ActionState.execute_actions
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/zeidler/Development/python/parts/opt/lib/python2.7/doctest.py", line 2201, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for pyramid.config.ActionState.execute_actions
  File "/Users/zeidler/pyramid/pyramid/config/__init__.py", line 1022, in execute_actions

----------------------------------------------------------------------
File "/Users/zeidler/pyramid/pyramid/config/__init__.py", line 1058, in pyramid.config.ActionState.execute_actions
Failed example:
    print(v)
Expected:
    exceptions.AttributeError: 'function' object has no attribute 'xxx'
      in:
      oops
Got:
    <type 'exceptions.AttributeError'>: 'function' object has no attribute 'xxx'
      in:
      oops


======================================================================
FAIL: Doctest: pyramid.decorator.reify
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/zeidler/Development/python/parts/opt/lib/python2.7/doctest.py", line 2201, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for pyramid.decorator.reify
  File "/Users/zeidler/pyramid/pyramid/decorator.py", line 1, in reify

----------------------------------------------------------------------
File "/Users/zeidler/pyramid/pyramid/decorator.py", line 18, in pyramid.decorator.reify
Failed example:
    f = Foo()
Exception raised:
    Traceback (most recent call last):
      File "/Users/zeidler/Development/python/parts/opt/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest pyramid.decorator.reify[0]>", line 1, in <module>
        f = Foo()
    NameError: name 'Foo' is not defined
----------------------------------------------------------------------
File "/Users/zeidler/pyramid/pyramid/decorator.py", line 19, in pyramid.decorator.reify
Failed example:
    v = f.jammy
Exception raised:
    Traceback (most recent call last):
      File "/Users/zeidler/Development/python/parts/opt/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest pyramid.decorator.reify[1]>", line 1, in <module>
        v = f.jammy
    NameError: name 'f' is not defined
----------------------------------------------------------------------
File "/Users/zeidler/pyramid/pyramid/decorator.py", line 21, in pyramid.decorator.reify
Failed example:
    print(v)
Exception raised:
    Traceback (most recent call last):
      File "/Users/zeidler/Development/python/parts/opt/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest pyramid.decorator.reify[2]>", line 1, in <module>
        print(v)
    NameError: name 'v' is not defined
----------------------------------------------------------------------
File "/Users/zeidler/pyramid/pyramid/decorator.py", line 23, in pyramid.decorator.reify
Failed example:
    f.jammy
Exception raised:
    Traceback (most recent call last):
      File "/Users/zeidler/Development/python/parts/opt/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest pyramid.decorator.reify[3]>", line 1, in <module>
        f.jammy
    NameError: name 'f' is not defined


======================================================================
FAIL: Doctest: pyramid.util.InstancePropertyMixin.set_property
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/zeidler/Development/python/parts/opt/lib/python2.7/doctest.py", line 2201, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for pyramid.util.InstancePropertyMixin.set_property
  File "/Users/zeidler/pyramid/pyramid/util.py", line 91, in set_property

----------------------------------------------------------------------
File "/Users/zeidler/pyramid/pyramid/util.py", line 133, in pyramid.util.InstancePropertyMixin.set_property
Failed example:
    foo.x
Exception raised:
    Traceback (most recent call last):
      File "/Users/zeidler/Development/python/parts/opt/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest pyramid.util.InstancePropertyMixin.set_property[0]>", line 1, in <module>
        foo.x
    NameError: name 'foo' is not defined
----------------------------------------------------------------------
File "/Users/zeidler/pyramid/pyramid/util.py", line 135, in pyramid.util.InstancePropertyMixin.set_property
Failed example:
    foo.y
Exception raised:
    Traceback (most recent call last):
      File "/Users/zeidler/Development/python/parts/opt/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest pyramid.util.InstancePropertyMixin.set_property[1]>", line 1, in <module>
        foo.y
    NameError: name 'foo' is not defined
----------------------------------------------------------------------
File "/Users/zeidler/pyramid/pyramid/util.py", line 137, in pyramid.util.InstancePropertyMixin.set_property
Failed example:
    foo.x = 5
Exception raised:
    Traceback (most recent call last):
      File "/Users/zeidler/Development/python/parts/opt/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest pyramid.util.InstancePropertyMixin.set_property[2]>", line 1, in <module>
        foo.x = 5
    NameError: name 'foo' is not defined
----------------------------------------------------------------------
File "/Users/zeidler/pyramid/pyramid/util.py", line 138, in pyramid.util.InstancePropertyMixin.set_property
Failed example:
    foo.x
Exception raised:
    Traceback (most recent call last):
      File "/Users/zeidler/Development/python/parts/opt/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest pyramid.util.InstancePropertyMixin.set_property[3]>", line 1, in <module>
        foo.x
    NameError: name 'foo' is not defined
----------------------------------------------------------------------
File "/Users/zeidler/pyramid/pyramid/util.py", line 140, in pyramid.util.InstancePropertyMixin.set_property
Failed example:
    foo.y # notice y keeps the original value
Exception raised:
    Traceback (most recent call last):
      File "/Users/zeidler/Development/python/parts/opt/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest pyramid.util.InstancePropertyMixin.set_property[4]>", line 1, in <module>
        foo.y # notice y keeps the original value
    NameError: name 'foo' is not defined


======================================================================
FAIL: Doctest: pyramid.util.object_description
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/zeidler/Development/python/parts/opt/lib/python2.7/doctest.py", line 2201, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for pyramid.util.object_description
  File "/Users/zeidler/pyramid/pyramid/util.py", line 229, in object_description

----------------------------------------------------------------------
File "/Users/zeidler/pyramid/pyramid/util.py", line 240, in pyramid.util.object_description
Failed example:
    object_description(minidom.Attr.appendChild)
Expected:
    u'method appendChild of class xml.dom.minidom.Attr'
Got:
    u'method appendChild of class xml.dom.minidom.NoneType'


----------------------------------------------------------------------
Ran 2329 tests in 10.065s

FAILED (failures=4)
```