#6227: Because of a wrong indentation, the test was not testing what it should.

Ensure that the snippet in doctest_aliases actually contains aliases.
This commit is contained in:
Amaury Forgeot d'Arc 2009-06-14 21:20:40 +00:00
parent 983a46543c
commit f81ff989d6
2 changed files with 3 additions and 1 deletions

View file

@ -498,6 +498,8 @@ If a single object is listed twice (under different names), then tests
will only be generated for it once:
>>> from test import doctest_aliases
>>> assert doctest_aliases.TwoNames.f
>>> assert doctest_aliases.TwoNames.g
>>> tests = excl_empty_finder.find(doctest_aliases)
>>> print len(tests)
2