pylint #60828 Imports within functions lead to reimport warning [validation pending]

Running pylint 0.23.0 on a module where a function imports a module, leads to a 'Reimport' warning. An example of such a module:

def reimport():
"""Test reimport"""
import os

pylint reacts with the following warning: W: 3:reimport: Reimport 'os' (imported line 1).

done in0.24.0
load left0.000
closed by#933e275ab0eb Fix false positive in reimport check (closes #60828)