Files
openide/python/testData/optimizeImports/blankLineBetweenEncodingDeclarationAndFirstImportPreserved.py
Mikhail Golubev 041fe2b1be PY-23578 Optimize Imports preserves a blank line before the first import import
It happened due to the bug in the platform and only when the number of
blank lines after the import statement is greater than that before it.

As a temporary workaround before the relevant fix in the platform is
accepted I delete old imports as text through the underlying document.
2017-04-10 14:45:09 +03:00

7 lines
105 B
Python

# -*- coding: utf-8
from __future__ import unicode_literals, absolute_import
import os
os.listdir('.')