I am suppressing warnings about unused imports for things like py.test fixtures using
from package import Klass
But when I do a reformat file or import a non imported package by going to ShowIntentionActions
and selecting import, the new import is put in in-between the comment and it's import statement. Then on commit or optimize imports
the import is removed because PyCharm now thinks it is unused.
Thanks for fixing the bug!