You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If running pytest without an installation of pandas no test is executed and the run is stopped with the following error message:
python_package_test/test_basic.py:519: in <module>
???
E TypeError: pd_Series() takes no arguments
In that line, we can find a test that seems to be supposedly skipped if pandas is not installed. But as far as I know pytest.mark.parametrize is evaluated anyways, making the whole test suit crash. I'm honestly not sure if this is an error on my side. But it looks like an easy thing to oversee if you have pandas installed by default, so I thought I should mention it here.
# install the Python package
git submodule init
git submodule update --recursive
cd python-package
python setup.py install
The text was updated successfully, but these errors were encountered:
strobelTha
changed the title
[python-package] Tests not running without panda (tests.python_package_test/test_basic.py)
[python-package] Tests not running without pandas (tests.python_package_test/test_basic.py)
Oct 1, 2021
This issue has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.
Description
If running pytest without an installation of pandas no test is executed and the run is stopped with the following error message:
In that line, we can find a test that seems to be supposedly skipped if pandas is not installed. But as far as I know pytest.mark.parametrize is evaluated anyways, making the whole test suit crash. I'm honestly not sure if this is an error on my side. But it looks like an easy thing to oversee if you have pandas installed by default, so I thought I should mention it here.
Reproducible example
Environment info
LightGBM version or commit hash:
3.2.1.99
Command(s) you used to install LightGBM
The text was updated successfully, but these errors were encountered: