Commit Graph

4 Commits

Author SHA1 Message Date
Semyon Proshev
56a1c00c2a Make python-latest project descriptor default in tests
Update test data and reduce manual language level setup

GitOrigin-RevId: d6ddec1b2b29a2b7f1a34cfb5982fd975de78d65
2021-03-15 17:33:04 +00:00
Mikhail Golubev
31eeb5e84a Fix test data in several tests that failed after PyUtil#deleteElementSafely was introduces
* `pass` is consistently inserted on the new line now
* excess spaces left after element was deleted are removed

Use PyUtil#deleteElementSafely in pull, push and extract superclass
refactoring implementations.

It turned out that all problems with whitespaces left after we moved
function are rooted in awkward implementation of PyFunctionImpl#delete()
that delegated to plain AST manipulation and thus ignored
usual additional reformatting step. I removed it and it's allowed to
clean a lot of test files and remove the code that was added previously
exactly for this purpose in PyMoveSymbolProcessor.
2015-04-08 13:46:26 +03:00
Ekaterina Tuzova
068794c6dc added PY-8367 Quickfix for removing unused parameter or variable 2014-03-13 18:16:42 +04:00
Ekaterina Tuzova
5ee2cf20c5 added remove return statement quick fix for the return from init inspection 2014-03-12 18:07:29 +04:00