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
In #10 I decided to put if __name__ == "__main__": blocks in the test suite, instead of using test harness pytest, because I couldn't make pytest aware of the pycoq installation.
we also have to cp -r test _build/default/, which isn't ideal. But it's the minimum viable test suite.
Errors:
$ pytest test
======================================================= ERRORS =======================================================
_______________________________________ ERROR collecting test/py/test_spec.py ________________________________________
test/py/test_spec.py:1: in<module>
import pycoq
pycoq/__init__.py:9: in<module>
dll = PyDLL(f"{curdir}/pycoq.so", RTLD_GLOBAL)
/usr/lib/python3.8/ctypes/__init__.py:373: in __init__
self._handle = _dlopen(self._name, mode)
E OSError: /home/quinn/Dropbox/Projects/misc-coq/pycoq/pycoq/pycoq.so: cannot open shared object file: No such file or directory
============================================== short test summary info ===============================================
pytest _build/default/test is weirder, the harness says collecting... then returns me back to the shell, collecting nothing.
I also experimented with the --rootdir argument to point pytest to pycoq.so, no luck.
The text was updated successfully, but these errors were encountered:
In #10 I decided to put
if __name__ == "__main__":
blocks in the test suite, instead of using test harnesspytest
, because I couldn't makepytest
aware of thepycoq
installation.we also have to
cp -r test _build/default/
, which isn't ideal. But it's the minimum viable test suite.Errors:
pytest _build/default/test
is weirder, the harness sayscollecting...
then returns me back to the shell, collecting nothing.I also experimented with the
--rootdir
argument to pointpytest
topycoq.so
, no luck.The text was updated successfully, but these errors were encountered: