diff options
| author | Claudiu Popa <pcmanticore@gmail.com> | 2016-01-15 19:04:40 +0200 |
|---|---|---|
| committer | Claudiu Popa <pcmanticore@gmail.com> | 2016-01-15 19:04:40 +0200 |
| commit | 942577fc5b5c44bc53937a9131a4e9ec476590d4 (patch) | |
| tree | 1d5c18d514e65ba8f5d34f0b1caca0cc7dacafe4 | |
| parent | 33f7812ddda513315ec7c3e0ae3200ab3b0d6551 (diff) | |
| download | astroid-git-astroid-1.4.4.tar.gz | |
Fix pylint warnings.astroid-1.4.4
| -rw-r--r-- | astroid/tests/unittest_utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/astroid/tests/unittest_utils.py b/astroid/tests/unittest_utils.py index 5296ea82..ef832252 100644 --- a/astroid/tests/unittest_utils.py +++ b/astroid/tests/unittest_utils.py @@ -116,8 +116,8 @@ class InferenceUtil(unittest.TestCase): () ''') inferred = next(node.infer()) - with self.assertRaises(InferenceError) as cm: - unpacked = list(node_classes.unpack_infer(inferred)) + with self.assertRaises(InferenceError): + list(node_classes.unpack_infer(inferred)) if __name__ == '__main__': |
