commit | 9c62772d5e0e096458c6f5c8e50cc84fcc1383f7 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Aug 27 18:31:48 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Aug 27 18:31:48 2007 +0000 |
tree | 088d8c2701cf01ed6e516d83aff3182de9cb555d | |
parent | 35d9428046e74cd9c36fb4507ca048dad32097cc [diff] [blame] |
Changes in anticipation of stricter str vs. bytes enforcement.
diff --git a/Lib/test/test_ucn.py b/Lib/test/test_ucn.py index 5b8ac2a..78cb780 100644 --- a/Lib/test/test_ucn.py +++ b/Lib/test/test_ucn.py
@@ -124,7 +124,7 @@ # long bogus character name self.assertRaises( UnicodeError, - str, bytes("\\N{%s}" % ("x" * 100000)), 'unicode-escape', 'strict' + str, bytes("\\N{%s}" % ("x" * 100000), "ascii"), 'unicode-escape', 'strict' ) # missing closing brace self.assertRaises(