PY-15347 Optimize imports only after moved element was deleted from original file

Also I updated test data for existing test where because of sorting of
imports new from-import was added *after* existing star-import (and thus
star-import was indeed optimized out). As result that test didn't
manage to detect the new problem.
This commit is contained in:
Mikhail Golubev
2015-03-25 21:10:46 +03:00
parent feb9141c60
commit a04bede589
5 changed files with 16 additions and 9 deletions