mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
#1535: rename __builtin__ module to builtins.
This commit is contained in:
parent
87f9c53937
commit
1a3284ed69
70 changed files with 246 additions and 247 deletions
|
|
@ -288,7 +288,7 @@ class ExceptionTests(unittest.TestCase):
|
|||
raise
|
||||
else:
|
||||
# Verify module name
|
||||
self.assertEquals(type(e).__module__, '__builtin__')
|
||||
self.assertEquals(type(e).__module__, 'builtins')
|
||||
# Verify no ref leaks in Exc_str()
|
||||
s = str(e)
|
||||
for checkArgName in expected:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue