golang_str: tests: Fix test_strings_refcount wrt upcoming str=bstr and unicode=ustr
When gpython will start patching builtin str and unicode types with bstr and ustr it might be the case that b('abc') return the same 'abc' object and so the logic in this test will become broken. -> Avoid that by keeping the original data in bytearray which for sure won't overlap with bytes/str nor unicode irregardless whether those builtin types are patched or not.
Showing
Please register or sign in to comment