tests: make the testsuite Python 3.7 compatible
In Python 3.7, the re module changes the name of its _pattern_type attribute to "Pattern", this patch handles both versions
Please register or sign in to comment
In Python 3.7, the re module changes the name of its _pattern_type attribute to "Pattern", this patch handles both versions