def assertNoOutput(self, stream):
        # HACK: Under Windows, ignore warnings of the form:
        # 'warning: Not loading directory '...\tests\regressiontests\locale': missing __init__.py'
        # It has been impossible to filter them out using other means like:
        # * Using warning.filterwarnings() (for the Python interpreter running the
        #   tests) and/or
        # * Using -Wignore:... (for the python interpreter spawned in self.run_test())
        # Instead use a strategy copied from Mercurial's setup.py
        if sys.platform == 'win32':
            stream = [e for e in stream.splitlines()
                if not e.startswith('warning: Not importing directory')]
        self.assertEqual(len(stream), 0, "Stream should be empty: actually contains '%s'" % stream)
Delete the set of Translation objects for a specific Language in a Resource.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/tests/regressiontests/admin_scripts/tests.py/AdminScriptTestCase.assertNoOutput--crossover with--dataset/ETHPy150Open rvanlaar/easy-transifex/src/transifex/transifex/resources/views.py/resource_translations_delete