'test xgettext warning about multiple bare interpolation placeholders'

def test_extraction_warning(self):

    os.chdir(self.test_dir)
    shutil.copyfile(u'./code.sample', u'./code_sample.py')
    self.addCleanup(self.rmfile, os.path.join(self.test_dir, u'code_sample.py'))
    stdout = StringIO()
    management.call_command(u'makemessages', locale=[LOCALE], stdout=stdout)
    self.assertIn(u'code_sample.py:4', force_text(stdout.getvalue()))
