From e527836092e2cab494fd7643c30e01c6e037f750 Mon Sep 17 00:00:00 2001 From: Ceridwen Date: Thu, 7 Apr 2016 09:57:36 -0400 Subject: Clean up spacing, typos, and add .hypothesis to .gitignore --- .gitignore | 1 + astroid/tests/unittest_zipper.py | 2 +- astroid/tree/node_classes.py | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d74774df..0ad29327 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ build dist/ astroid.egg-info/ .tox +.hypothesis diff --git a/astroid/tests/unittest_zipper.py b/astroid/tests/unittest_zipper.py index a10b7179..016855bc 100644 --- a/astroid/tests/unittest_zipper.py +++ b/astroid/tests/unittest_zipper.py @@ -2,7 +2,7 @@ file out of astroid's code and parse it, running tests on the resulting AST. The tests create a dict-of-lists graph representation of the AST by using the recursive structure only, without using the -zipper, with each node labeled by a unique integer, and then compares +zipper, with each node labeled by a unique integer, and then compare the zipper's result with what the zipper should return. ''' diff --git a/astroid/tree/node_classes.py b/astroid/tree/node_classes.py index 5f4df46e..adfe565b 100644 --- a/astroid/tree/node_classes.py +++ b/astroid/tree/node_classes.py @@ -711,6 +711,7 @@ class Ellipsis(base.NodeNG): # pylint: disable=redefined-builtin def bool_value(self): return True + @util.register_implementation(treeabc.InterpreterObject) class InterpreterObject(base.NodeNG): '''InterpreterObjects are used in manufactured ASTs that simulate features of -- cgit v1.2.1