summaryrefslogtreecommitdiff
path: root/tests/functional/s/shadowed_import.py
blob: fb913e8d80b6130e143d7493afd47d9c04b309d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# pylint: disable=missing-docstring,unused-import,import-error, consider-using-from-import
# pylint: disable=wrong-import-order

from pathlib import Path
from some_other_lib import CustomPath as Path   # [shadowed-import]

from pathlib import Path  # [reimported]
import FastAPI.Path as Path  # [shadowed-import]

from pandas._libs import algos
import pandas.core.algorithms as algos  # [shadowed-import]

from sklearn._libs import second as libalgos
import sklearn.core.algorithms as second

import Hello
from goodbye import CustomHello as Hello   # [shadowed-import]