def test_apiBuilderScriptMainRequiresTwoArguments(self):
        """
        SystemExit is raised when the incorrect number of command line
        arguments are passed to the API building script.
        """
        script = BuildAPIDocsScript()
        self.assertRaises(SystemExit, script.main, [])
        self.assertRaises(SystemExit, script.main, ["foo"])
        self.assertRaises(SystemExit, script.main, ["foo", "bar", "baz"])

        SystemExit is raised when the incorrect number of command line
        arguments are passed to the API building script.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/python/test/test_release.py