mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Restore the test of the random module after including "Random" in the
ignore tuple. The line, "from _random import Random as CoreGenerator", fools the test code which expects CoreGenerator.__name__ to be "CoreGenerator" instead of "Random".
This commit is contained in:
parent
d6d7cfaada
commit
ecccafb2d4
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ class PyclbrTest(TestCase):
|
|||
cm = self.checkModule
|
||||
|
||||
# These were once about the 10 longest modules
|
||||
## cm('random') # This test crashes (probably due to the "import as").
|
||||
cm('random', ignore=('Random')) # from _random import Random as CoreGenerator
|
||||
cm('cgi', ignore=('log',)) # set with = in module
|
||||
cm('mhlib')
|
||||
cm('urllib', ignore=('getproxies_registry',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue