]> granicus.if.org Git - python/commit
closes bpo-37758: Extend unicodedata checksum tests to cover all of Unicode. (GH...
authorGreg Price <gnprice@gmail.com>
Thu, 12 Sep 2019 09:25:25 +0000 (02:25 -0700)
committerBenjamin Peterson <benjamin@python.org>
Thu, 12 Sep 2019 09:25:25 +0000 (10:25 +0100)
commit6954be815a16fad11d1d66be576865bbbeb2b97d
tree24fca61c6b55633100f1335c88e3e5eb2bc8f2bf
parenta65678c5c90002c5e40fa82746de07e6217df625
closes bpo-37758: Extend unicodedata checksum tests to cover all of Unicode. (GH-15125)

Unicode has grown since Python first gained support for it,
when Unicode itself was still rather new.

This pair of test cases was added in commit 6a20ee7de back in 2000,
and they haven't needed to change much since then.  But do change
them to look beyond the Basic Multilingual Plane (range(0x10000))
and cover all 17 planes of Unicode's final form.

This adds about 5 seconds to the test suite's runtime.  Mark the
tests as CPU-using accordingly.
Lib/test/test_unicodedata.py