def makedirs(*args, **kwargs):
    try:
        os.makedirs(*args, **kwargs)
    except OSError as ex:
        if ex.errno != errno.EEXIST:
            raise
Test that DeprecationWarning is generated when a deprecated project level locale/ subdir is present.
dataset/ETHPy150Open c-w/Gutenberg/gutenberg/_util/os.py/makedirs--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/regressiontests/i18n/test_warnings.py/DeprecationWarningTests.test_warn_if_project_has_locale_subdir