_compat.py: Add module to handle version compatibility in python

Description

closing a subprocess has only been added since python3.7 This leads to error messages being written on stdout while running with a version inferior to that.

Adds a dummy 'close' method on the subprocess.

Merge request reports

Loading