-
-
Notifications
You must be signed in to change notification settings - Fork 307
Closed
Labels
Enhancement ✨Improvement to a componentImprovement to a componentGood first issueFriendly and approachable by new contributorsFriendly and approachable by new contributors
Description
Steps to reproduce
- Run pylint over the following test case:
"""Test case"""
import numpy as np
value = np.random.seed(1234)
Current behavior
/home/bje/source/nemo/myenv/lib/python3.10/site-packages/astroid/raw_building.py:470: FutureWarning: In the future `np.long` will be defined as the corresponding NumPy scalar. (This may have returned Python scalars in past versions.
getattr(sys.modules[modname], name)
/home/bje/source/nemo/myenv/lib/python3.10/site-packages/astroid/raw_building.py:470: FutureWarning: In the future `np.long` will be defined as the corresponding NumPy scalar. (This may have returned Python scalars in past versions.
getattr(sys.modules[modname], name)
Expected behavior
There should be no future warnings.
python -c "from astroid import pkginfo; print(pkginfo.version)" output
2.12.13
Redoubts
Metadata
Metadata
Assignees
Labels
Enhancement ✨Improvement to a componentImprovement to a componentGood first issueFriendly and approachable by new contributorsFriendly and approachable by new contributors