updated tests to be compatible with 3.9 and 3.12
Commit 54b0aa33 fixes this pull-request
Pull-Request has been merged by tkopecek
Metadata Update from @tkopecek: - Pull-request tagged with: no_qe
updated tests to be compatible with 3.9 and 3.12