diff options
author | Ceridwen <ceridwenv@gmail.com> | 2016-03-02 10:47:46 -0500 |
---|---|---|
committer | Ceridwen <ceridwenv@gmail.com> | 2016-03-02 10:47:46 -0500 |
commit | 229e5c448bc94b27fd47923a6e4093f5f6135853 (patch) | |
tree | 61322b1c369cc1b54444f77155bf7d1157ba2ae7 /astroid/tree/zipper.py | |
parent | 51bd977f064520f5efe2795e484d2c0728128e08 (diff) | |
download | astroid-git-229e5c448bc94b27fd47923a6e4093f5f6135853.tar.gz |
Replace None with Empty in the ASTs and refactor the zipper tests to work with this
Diffstat (limited to 'astroid/tree/zipper.py')
-rw-r--r-- | astroid/tree/zipper.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/astroid/tree/zipper.py b/astroid/tree/zipper.py index cf306e08..78643a6b 100644 --- a/astroid/tree/zipper.py +++ b/astroid/tree/zipper.py @@ -108,12 +108,6 @@ class Zipper(wrapt.ObjectProxy): # local variable, avoiding a super() call, two globals lookups, # and two dict lookups (on wrapt's and ObjectProxy's dicts). def __init__(self, focus, path=None, init=wrapt.ObjectProxy.__init__): - try: - assert(isinstance(focus, (base.NodeNG, collections.Sequence))) - except AssertionError: - print(focus) - print(path) - raise init(self, focus) self._self_path = path |