[py3] Fixed str_prefix test utility

This commit is contained in:
Claude Paroz 2012-08-11 13:34:35 +02:00
parent 97fe70d30b
commit 22527a821b
1 changed files with 1 additions and 1 deletions

View File

@ -221,4 +221,4 @@ class override_settings(object):
setting=key, value=new_value) setting=key, value=new_value)
def str_prefix(s): def str_prefix(s):
return s % {'_': 'u'} return s % {'_': '' if six.PY3 else 'u'}