Hi!

Here it is: http://code.djangoproject.com/ticket/2920

I've got a doctest that raises:

(part of traceback)
...
msg = _('Password changed successfully.')
TypeError: 'bool' object is not callable

I tried adding this:
>>> from django.utils.translation import gettext as _

1. directly to my doctest.

2. to my module with doctest:

# -*- coding: utf-8 -*-
from django.utils.translation import gettext as _
my-doctest = """...."""

3. to tests.py
# -*- coding: utf-8 -*-
from django.utils.translation import gettext as _
__test__ = {}
from app_tests.my_tests import my_test

__test__['my_test'] = my_test

But I'm still getting the same error. :/

Any hints?

Regards
Jakub Wiśniowski


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to