Open pllim opened 1 year ago
I am asking also over at https://github.com/pytest-dev/pytest/discussions/10976 .
All I can figure out is that they choke when validate()
does not take any output
override, so it defaults to output=sys.stdout
and then errors out on sys.stdout.write(some_string)
.
Still seeing this in testing v6.0rc1 locally. 🤷
FAILED io/votable/tests/test_table.py::test_validate_output_invalid - OSError: [WinError 6] The handle is invalid
FAILED o/votable/tests/test_table.py::test_validate_output_valid - OSError: [WinError 6] The handle is invalid
FAILED io/votable/tests/test_table.py::test_validate_tilde_path - OSError: [WinError 6] The handle is invalid
FAILED io/votable/tests/test_vo.py::test_validate_xmllint_true - OSError: [WinError 6] The handle is invalid
And still the same problem in v6.1rc1 locally.
And v7.0.0rc1
astropy v5.3rc1
Note to self: Had the hardest building astropy from source on Windows to debug this. Future self, please see https://github.com/pypa/setuptools/issues/2028#issuecomment-1540141355 and then if
astropy.__version__
not found, delete the extraastropy
folder insite-packages
.pytest
from CLI complains about too manyconftest.py
but callingastropy.test(...)
works.