tests/functional/d/deprecated/deprecated_relative_import/dot_relative_import.py
raw| 1 | # pylint: disable=import-error, missing-module-docstring, unused-import |
| 2 | |
| 3 | # from import of stdlib optparse which should yield deprecated-module error |
| 4 | from formatter import NullFormatter # [deprecated-module] |
| 5 | # from import of module internal optparse module inside this package. |
| 6 | # This should not yield deprecated-module error |
| 7 | from .formatter import Bar |