]> granicus.if.org Git - python/commit
bpo-37758: Clean out vestigial script-bits from test_unicodedata. (GH-15126)
authorGreg Price <gnprice@gmail.com>
Tue, 13 Aug 2019 05:58:01 +0000 (22:58 -0700)
committerBenjamin Peterson <benjamin@python.org>
Tue, 13 Aug 2019 05:58:01 +0000 (22:58 -0700)
commitdef97c988be8340f33869b57942a30d10fc3a1f9
tree1e92d5ed8fa24700d50c8ebb7cf28d01f6230c13
parent4e3dfcc4b987e683476a1b16456e57d3c9f581cb
bpo-37758: Clean out vestigial script-bits from test_unicodedata. (GH-15126)

This file started life as a script, before conversion to a
`unittest` test file.  Clear out some legacies of that conversion
that are a bit confusing about how it works.

Most notably, it's unlikely there's still a good reason to try
to recover from `unicodedata` failing to import -- as there was
when that logic was first added, when the module was very new.
So take that out entirely.  Keep `self.db` working, though, to
avoid a noisy diff.
Lib/test/test_unicodedata.py