golang_str: tests: Fix test_strings_methods wrt upcoming str=bstr and unicode=ustr
When gpython will start patching builtin str and unicode types with bstr and ustr the first argument to assertDeepEQ will have builtin str or unicode type and the existing assert not isinstance(a, (bstr, ustr)) will break. -> Rewrite that assert to do equivalent check carefully that does not break when str/unicode types are patched with bstr and ustr.
Showing
Please register or sign in to comment