def METHOD_NAME(self):
    with testing_utils.capture_output() as output:
        with self.assertRaises(SystemExit):
            script.superscript_main(args=['test_script', 'foo'])
            assert 'parlai test_script' in output.getvalue()
            assert '--foo' in output.getvalue()