import subprocess

# Disable the test on CentOS 8 until gh-4592 will be resolved.
try:
    cmd = ['rpm', '--eval', '%{centos_ver}']
    if subprocess.check_output(cmd).strip() == '8':
        self.skip = 1
except:
    pass

# vim: set ft=python:
