Skip to content

slapos/tests: Refine the unittest API calling for Python 3.12

Boxiang Sun requested to merge Daetalus/slapos.core:3.12 into master

Python 3.12 completely drops assertRaisesRegexp, readfp. Adjust the code and maintain Python 2 compatibility.

Merge request reports