def _detect_tested_library_name(self):
        conanfile_content = load(CONANFILE)
        match = re.search('^\s*name\s*=\s*"(.*)"', conanfile_content, re.MULTILINE)
        if match:
            return "%s*" % match.group(1)

        self._user_io.out.warn("Cannot detect a valid conanfile in current directory")
        return None
dataset/ETHPy150Open conan-io/conan/conans/client/command.py/Command._detect_tested_library_name/original