2021-12-27 08:29:09 +00:00
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
|
|
|
|
|
2021-10-04 14:23:50 +00:00
|
|
|
class TestImportStar(object):
|
|
|
|
def test_from_attr_import_star(self):
|
|
|
|
"""
|
|
|
|
import * from attr
|
|
|
|
"""
|
|
|
|
# attr_import_star contains `from attr import *`, which cannot
|
|
|
|
# be done here because *-imports are only allowed on module level.
|
|
|
|
from . import attr_import_star # noqa: F401
|