[ase-users] Issues during ase test

Ask Hjorth Larsen asklarsen at gmail.com
Mon Apr 12 20:28:25 CEST 2021


Dear Trevor,


Am So., 11. Apr. 2021 um 08:16 Uhr schrieb Trevor Price via ase-users
<ase-users at listserv.fysik.dtu.dk>:
>
> I included the list of my errors below. Any idea what I should do? I used pip install ase to install ase.
>
>
>
> ==================================== ERRORS ====================================
>
> ______________________ ERROR at setup of test_check_atoms ______________________
>
> file /Users/tdprice/opt/anaconda3/lib/python3.8/site-packages/ase/test/calculator/vasp/test_vasp_calculator.py, line 16
>
>   def test_check_atoms(atoms, mock_vasp_calculate):
>
> file /Users/tdprice/opt/anaconda3/lib/python3.8/site-packages/ase/test/calculator/vasp/conftest.py, line 25
>
>   @pytest.fixture
>
>   def mock_vasp_calculate(mocker):
>
> E       fixture 'mocker' not found

Install pytest-mock (e.g. using "pip install ase[test]" which installs
the testing dependencies).

Unfortunately the test_combos test fails on some systems.  I thought
it wasn't part of a release yet but it apparently is.  Just ignore it.

Best regards
Ask


More information about the ase-users mailing list