'Run unit tests after in-place build.
These tests are only run if the package actually has a \'test\' command.'

def test(self):

    if self._setup_command_available('test'):
        args = self.test_args(self.spec, self.prefix)
        self.setup_py('test', *args)
