pypy.module.posix.test.apptest_posix:test_all_pathconf_defined
def test_all_pathconf_defined():
import sys
import posix
try:
fd = sys.stdin.fileno()
except ValueError:
# translated test run with a fake sys.stdin with no fileno
fd = 1
for name in posix.pathconf_names:
> posix.fpathconf(fd, name) # does not crash
E OSError: [Errno 22] Invalid argument
../build/pypy/module/posix/test/apptest_posix.py:66: OSError
builder: pypy-c-jit-macos-x86-64 build #1265
test: pypy/module/posix/test/apptest_posix:test_all_pathconf_defined