Thanks for submitting an issue!
Here's a quick checklist in what to include:
Bug Description
I'm migrating our unittests in pythonnet from unittests to pytest and I've encountered a strange behavior in doing so. Everything works as expected as long as sudo=required is enabled in travis. If I use sudo=false our tests crash with the message below if python < 3.5.
Environment
OS: Travis/Linux (crash); Appveyor/windows (no issue)
Python: 2.7, 3.3, 3.4, 3.5, 3.6, 3.7. (Crash only happens on 2,7, 3.3, 3.4)
Packages: pytest, pythonnet, pycparser.
Other comments
Any ideas as to what may be causing the strange behavior? I'm working on reducing this to a single reproducible example, but I haven't been able to isolate what part of the code is causing this. Any help would be appreciated.
============================= test session starts ==============================
platform linux -- Python 3.3.5 -- py-1.4.26 -- pytest-2.6.4
collected 359 items
src/tests/test_array.py ........................................
src/tests/test_callback.py ..
src/tests/test_class.py ..................
src/tests/test_compat.py ................
src/tests/test_constructors.py ....
src/tests/test_conversion.py ....................
src/tests/test_delegate.py .................
src/tests/test_docstring.py ...
src/tests/test_engine.py ./home/travis/build.sh: line 59: 4678 Aborted (core dumped) python -m pytest
Thanks for submitting an issue!
Here's a quick checklist in what to include:
Bug Description
I'm migrating our unittests in
pythonnetfromunitteststopytestand I've encountered a strange behavior in doing so. Everything works as expected as long assudo=requiredis enabled in travis. If I usesudo=falseour tests crash with the message below ifpython < 3.5.Environment
OS: Travis/Linux (crash); Appveyor/windows (no issue)
Python: 2.7, 3.3, 3.4, 3.5, 3.6, 3.7. (Crash only happens on 2,7, 3.3, 3.4)
Packages:
pytest,pythonnet,pycparser.Other comments
Any ideas as to what may be causing the strange behavior? I'm working on reducing this to a single reproducible example, but I haven't been able to isolate what part of the code is causing this. Any help would be appreciated.
pip listof the virtual environment you are using