Permalink
Browse files

[py3] Fixed str_prefix test utility

  • Loading branch information...
1 parent 97fe70d commit 22527a821bbca73a4900906be8b01c81a414ad95 @claudep claudep committed Aug 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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'}

0 comments on commit 22527a8

Please sign in to comment.