avocado-framework / avocado-vt

Avocado VT Plugin
https://avocado-vt.readthedocs.org/
Other
83 stars 242 forks source link

Replace readfp with read_file #3910

Closed Yingshun closed 5 months ago

Yingshun commented 5 months ago

ConfigParser.readfp was removed in the latest python(3.12), so updating to use read_file().

Yingshun commented 5 months ago

@brucepatricklee Can you plz help confirm if it works? thx!

brucepatricklee commented 5 months ago

@brucepatricklee Can you plz help confirm if it works? thx!

yes, it works well on RHEL-10 with python3.12