diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2003-11-06 20:47:57 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2003-11-06 20:47:57 (GMT) |
commit | d2171d2ba414def2ecf27b694ea27c2e9fde0fcf (patch) | |
tree | f61634cce466b7725ad365981234cf38d6a49a84 /Lib/test | |
parent | 85c20a41dfcec04d161ad7da7260e7b94c62d228 (diff) | |
download | cpython-d2171d2ba414def2ecf27b694ea27c2e9fde0fcf.zip cpython-d2171d2ba414def2ecf27b694ea27c2e9fde0fcf.tar.gz cpython-d2171d2ba414def2ecf27b694ea27c2e9fde0fcf.tar.bz2 |
Overallocate target buffer for normalization more early. Fixes #834676.
Backported to 2.3.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_normalization.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_normalization.py b/Lib/test/test_normalization.py index 046dca6..0cbc2b4 100644 --- a/Lib/test/test_normalization.py +++ b/Lib/test/test_normalization.py @@ -84,5 +84,8 @@ def test_main(): continue assert X == NFC(X) == NFD(X) == NFKC(X) == NFKD(X), c + # Check for bug 834676 + normalize('NFC',u'\ud55c\uae00') + if __name__ == "__main__": test_main() |