diff options
| author | Claude Paroz <claude@2xlibre.net> | 2012-08-28 20:59:56 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2012-08-29 11:20:32 +0200 |
| commit | ebc773ada3e4f40cf5084268387b873d7fe22e8b (patch) | |
| tree | 88e136b190e480ed4c8c2310de408a268f4367b2 /tests/regressiontests/admin_util | |
| parent | 9eafb6592e9ed27a59cb3cd9920c44cf230a6c65 (diff) | |
Replaced many smart_bytes by force_bytes
In all those occurrences, we didn't care about preserving the
lazy status of the strings, but we really wanted to obtain a
real bytestring.
Diffstat (limited to 'tests/regressiontests/admin_util')
| -rw-r--r-- | tests/regressiontests/admin_util/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/admin_util/tests.py b/tests/regressiontests/admin_util/tests.py index 6b6dad4336..d04740ce95 100644 --- a/tests/regressiontests/admin_util/tests.py +++ b/tests/regressiontests/admin_util/tests.py @@ -171,7 +171,7 @@ class UtilTests(unittest.TestCase): ) self.assertEqual( label_for_field("__str__", Article), - b"article" + str("article") ) self.assertRaises( |
