def test_failToBuild(self):
        """
        Check that SphinxBuilder.build fails when run against a non-sphinx
        directory.
        """
        # note no fake sphinx project is created
        self.assertRaises(CalledProcessError,
                          self.builder.build,
                          self.sphinxDir)

        Check that SphinxBuilder.build fails when run against a non-sphinx
        directory.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/python/test/test_release.py