

def test_warn_if_project_has_locale_subdir(self):
    'Test that DeprecationWarning is generated when a deprecated project level locale/ subdir is present.'
    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__ = {
        
    }
    project_path.assertRaises(DeprecationWarning, django.utils.translation.ugettext, 'Time')

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/regressiontests/i18n/test_warnings.py DeprecationWarningTests.test_warn_if_project_has_locale_subdir/VarMisuse@47/130 `self`->`project_path`