commit | 2a5d6ae00b7442c0c014268f82aa223c0f5ea5c3 | [log] [tgz] |
---|---|---|
author | Miro Hrončok <miro@hroncok.cz> | Wed May 30 14:21:23 2018 +0200 |
committer | Miro Hrončok <miro@hroncok.cz> | Wed May 30 14:25:20 2018 +0200 |
tree | 582785b2d5b606553d90128cff4d31b2f0c40921 | |
parent | ae9f6b9e2799daa80dad937d9462628b354dab97 [diff] |
Problem: Docstrings were handled differently on 3.7.0b4 This caused an increased complexity number on 3.7.0b4 when docstring was used in the expr_as_statement test. Solution: While this change in Python will most likely get reverted according to [1], we decided to use a non-docstring expression in the test to avoid this problem in the future if docstring handling ever gets changed again. Fixes https://github.com/PyCQA/mccabe/issues/61 [1] https://github.com/PyCQA/mccabe/issues/61#issuecomment-393137462