openfheorg / openfhe-python

Official Python wrapper for OpenFHE. Current release is v0.8.8 (released on June 25, 2024).
https://openfheorg.github.io/openfhe-python/html/index.html
BSD 2-Clause "Simplified" License
60 stars 18 forks source link

Adolgert limit pytest path #137

Closed sei-adolgert closed 1 month ago

sei-adolgert commented 1 month ago

The important change here is the addition of a file called pytest.ini which tells pytest to look in the tests directory and ignore other files that may begin with "test*". This fixes a problem where running pytest in the root directory failed because an example in the main source code, not a unit test, would run and fail.

This was reviewed by two people and is re-uploaded as a branch on the main repo. I may be able to merge it but would be more comfortable if somebody else hit the button.

Thank You!