def METHOD_NAME(self):
    """
    Checks if the version of installed packages is correct.
    """
    incompatible_packages = get_incompatible_packages(packages_path, pkgconfig_directory, split_param)
    error_msg = linesep + 'List of incompatible packages: '
    for package in incompatible_packages:
        error_msg += linesep + package
    self.assertFalse(incompatible_packages, error_msg)