def test_warn_if_project_has_locale_subdir(self):
        project_path = join(dirname(abspath(__file__)), '..')
        warnings.filterwarnings('error',
                "Translations in the project directory aren't supported anymore\. Use the LOCALE_PATHS setting instead\.",
                DeprecationWarning)
        _trans.__dict__ = {}
        self.assertRaises(DeprecationWarning, django.utils.translation.ugettext, 'Time')
Return the client address formatted for logging.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/regressiontests/i18n/test_warnings.py/DeprecationWarningTests.test_warn_if_project_has_locale_subdir--crossover with--dataset/ETHPy150Open kleientertainment/ds_mod_tools/pkg/win32/Python27/Lib/BaseHTTPServer.py/BaseHTTPRequestHandler.address_string