Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[py3] Fixed str_prefix test utility

  • Loading branch information...
commit 22527a821bbca73a4900906be8b01c81a414ad95 1 parent 97fe70d
@claudep claudep authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/test/utils.py
View
2  django/test/utils.py
@@ -221,4 +221,4 @@ def disable(self):
setting=key, value=new_value)
def str_prefix(s):
- return s % {'_': 'u'}
+ return s % {'_': '' if six.PY3 else 'u'}
Please sign in to comment.
Something went wrong with that request. Please try again.