#3036: Misc minor doctest failures
-------------------------------------------------+--------------------------
Reporter: Yary H <[EMAIL PROTECTED]> | Owner: pterk
Status: closed | Component: Unit
test system
Version: SVN | Resolution: fixed
Keywords: | Stage:
Accepted
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
-------------------------------------------------+--------------------------
Changes (by pterk):
* status: assigned => closed
* has_patch: 0 => 1
* resolution: => fixed
Comment:
Checked these by doing:
{{{
$cd myproject
$./manage.py shell
>>> from django.core import validators, serializers
>>> import doctest
>>> doctest.testmod(validators)
}}}
* Added a traceback at line 417 in core/validators.py
* Removed the prompt ('>>>') from sample usage in serializers.py (Is not
a test. See tests/regressiontests/serializers_regress/ for those)
* Changed the import from template and changed all output to unicode in
template. Reworked sample/test for FilterExpression that has been
refactored quite a bit sonce these tests/samples were written.
* Changed the tests for DotExpandedDict to have predictable output (order
of dict keys is not guaranteed to be the same) and fixed a syntax error
* django/utils/simplejson/encoder.py produces no errors?
* Added import statement to feedgenerator
--
Ticket URL: <http://code.djangoproject.com/ticket/3036#comment:3>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---