pytest triggers Access Violation
Running pytest on any source that loads the orekit vm, triggers an "Access Violation" error. However, the tests still conclude as expected. The attached source files have a minimal example to reproduce the error (the largest piece is the orekit data file). orekit+pytest.zip
From the README file:
To load the environment prior to first run use:
conda env create -f environment.yml
Execute the test cases using:
pytest -v
You should see an "Access Violation" error; but the test completes successfully.
(orekit_pytest) P:\orekit+pytest>pytest -v
==== test session starts =================================================
platform win32 -- Python 3.7.7, pytest-5.4.3, py-1.9.0, pluggy-0.13.1
-- C:\Users\SydRa\.conda\envs\orekit_pytest\python.exe
cachedir: .pytest_cache
rootdir: H:\Sync\OneDrive\OneDrive - Sydereal\Release Folder\04 - Engineering\orekit+pytest
plugins: cov-2.10.0
collected 1 item
test/test_main.py::TestMain::test_tle Windows fatal exception: access violation