Commit d291007f authored by Damien George's avatar Damien George
Browse files

tests/basics/builtin_dir: Add test for dir() of a type.

parent 49bf7617
......@@ -7,6 +7,9 @@ print('__name__' in dir())
import sys
print('platform' in dir(sys))
# dir of type
print('append' in dir(list))
class Foo:
def __init__(self):
self.x = 1
......
Supports Markdown
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