checkds test requires the capture_output argument for subprocess.run() which was added in Python 3.7.