Commit 4d28d96a authored by Martin v. Löwis's avatar Martin v. Löwis

Refer to __builtin__.file, not __builtins__.file

parent dd6cd65b
......@@ -105,8 +105,9 @@ istest(inspect.ismethod, 'mod.StupidGit.abuse')
istest(inspect.ismethod, 'git.argue')
istest(inspect.ismodule, 'mod')
istest(inspect.istraceback, 'tb')
istest(inspect.isdatadescriptor, '__builtins__.file.closed')
istest(inspect.isdatadescriptor, '__builtins__.file.softspace')
import __builtin__
istest(inspect.isdatadescriptor, '__builtin__.file.closed')
istest(inspect.isdatadescriptor, '__builtin__.file.softspace')
test(inspect.isroutine(mod.spam), 'isroutine(mod.spam)')
test(inspect.isroutine([].count), 'isroutine([].count)')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment