import re

str = "text = [('Тестовый текст,)]"
x = re.findall("'([\w ]+)", str, re.UNICODE)

print(x[0])