diff --git a/pavelib/utils/test/bokchoy_utils.py b/pavelib/utils/test/bokchoy_utils.py index 869cccbfdf..801fac296e 100644 --- a/pavelib/utils/test/bokchoy_utils.py +++ b/pavelib/utils/test/bokchoy_utils.py @@ -146,7 +146,7 @@ def is_mysql_running(): """ # We need to check whether or not mysql is running as a process # even if it is not daemonized. - with open(os.devnull, 'w') as os_devnull: # lint-amnesty, pylint: disable=W6005, bad-option-value + with open(os.devnull, 'w') as os_devnull: # lint-amnesty, pylint: disable=bad-option-value #pgrep returns the PID, which we send to /dev/null returncode = subprocess.call("pgrep mysqld", stdout=os_devnull, shell=True) return returncode == 0