Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-myst-parser.spec'], chrootPath='/var/lib/mock/f40-build-2222877-52712/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-myst-parser.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1698624000 Wrote: /builddir/build/SRPMS/python-myst-parser-2.0.0-3.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-myst-parser.spec'], chrootPath='/var/lib/mock/f40-build-2222877-52712/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-myst-parser.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1698624000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RX8uT9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf MyST-Parser-2.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/myst-parser-2.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd MyST-Parser-2.0.0 + rm -rf /builddir/build/BUILD/MyST-Parser-2.0.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/MyST-Parser-2.0.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/4f670fc04.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.vMUHli + umask 022 + cd /builddir/build/BUILD + cd MyST-Parser-2.0.0 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/MyST-Parser-2.0.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/MyST-Parser-2.0.0/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/MyST-Parser-2.0.0/pyproject-wheeldir --output /builddir/build/BUILD/python-myst-parser-2.0.0-3.fc40.noarch-pyproject-buildrequires Handling flit_core >=3.4,<4 from build-system.requires Requirement not satisfied: flit_core >=3.4,<4 Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-myst-parser-2.0.0-3.fc40.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-myst-parser-2.0.0-3.fc40.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-myst-parser.spec'], chrootPath='/var/lib/mock/f40-build-2222877-52712/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-myst-parser.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1698624000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9rgjLJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf MyST-Parser-2.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/myst-parser-2.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd MyST-Parser-2.0.0 + rm -rf /builddir/build/BUILD/MyST-Parser-2.0.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/MyST-Parser-2.0.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/4f670fc04.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.QGa2Rz + umask 022 + cd /builddir/build/BUILD + cd MyST-Parser-2.0.0 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/MyST-Parser-2.0.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/MyST-Parser-2.0.0/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/MyST-Parser-2.0.0/pyproject-wheeldir --output /builddir/build/BUILD/python-myst-parser-2.0.0-3.fc40.noarch-pyproject-buildrequires Handling flit_core >=3.4,<4 from build-system.requires Requirement satisfied: flit_core >=3.4,<4 (installed: flit_core 3.9.0) Handling docutils>=0.16,<0.21 from hook generated metadata: Requires-Dist (myst-parser) Requirement satisfied: docutils>=0.16,<0.21 (installed: docutils 0.20.1) Handling jinja2 from hook generated metadata: Requires-Dist (myst-parser) Requirement satisfied: jinja2 (installed: jinja2 3.1.2) Handling markdown-it-py~=3.0 from hook generated metadata: Requires-Dist (myst-parser) Requirement not satisfied: markdown-it-py~=3.0 Handling mdit-py-plugins~=0.4 from hook generated metadata: Requires-Dist (myst-parser) Requirement not satisfied: mdit-py-plugins~=0.4 Handling pyyaml from hook generated metadata: Requires-Dist (myst-parser) Requirement satisfied: pyyaml (installed: pyyaml 6.0.1) Handling sphinx>=6,<8 from hook generated metadata: Requires-Dist (myst-parser) Requirement satisfied: sphinx>=6,<8 (installed: sphinx 7.2.6) Handling pre-commit~=3.0 ; extra == "code_style" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pre-commit~=3.0 ; extra == "code_style" Handling linkify-it-py~=2.0 ; extra == "linkify" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: linkify-it-py~=2.0 ; extra == "linkify" Handling ipython ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: ipython ; extra == "rtd" Handling sphinx-book-theme==1.0.0rc2 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinx-book-theme==1.0.0rc2 ; extra == "rtd" Handling pydata-sphinx-theme==v0.13.0rc4 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pydata-sphinx-theme==v0.13.0rc4 ; extra == "rtd" Handling sphinx-design2 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinx-design2 ; extra == "rtd" Handling sphinx-copybutton ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinx-copybutton ; extra == "rtd" Handling sphinxext-rediraffe~=0.2.7 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinxext-rediraffe~=0.2.7 ; extra == "rtd" Handling sphinxext-opengraph~=0.8.2 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinxext-opengraph~=0.8.2 ; extra == "rtd" Handling sphinx-pyscript ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinx-pyscript ; extra == "rtd" Handling sphinx-tippy>=0.3.1 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinx-tippy>=0.3.1 ; extra == "rtd" Handling sphinx-autodoc2~=0.4.2 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinx-autodoc2~=0.4.2 ; extra == "rtd" Handling sphinx-togglebutton ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinx-togglebutton ; extra == "rtd" Handling beautifulsoup4 ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: beautifulsoup4 ; extra == "testing" Handling coverage[toml] ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: coverage[toml] ; extra == "testing" Handling pytest>=7,<8 ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pytest>=7,<8 ; extra == "testing" Handling pytest-cov ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pytest-cov ; extra == "testing" Handling pytest-regressions ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pytest-regressions ; extra == "testing" Handling pytest-param-files~=0.3.4 ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pytest-param-files~=0.3.4 ; extra == "testing" Handling sphinx-pytest ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinx-pytest ; extra == "testing" Handling pygments ; extra == "testing-docutils" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pygments ; extra == "testing-docutils" Handling pytest>=7,<8 ; extra == "testing-docutils" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pytest>=7,<8 ; extra == "testing-docutils" Handling pytest-param-files~=0.3.4 ; extra == "testing-docutils" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pytest-param-files~=0.3.4 ; extra == "testing-docutils" + cat /builddir/build/BUILD/python-myst-parser-2.0.0-3.fc40.noarch-pyproject-buildrequires + rm -rfv myst_parser-2.0.0.dist-info/ removed 'myst_parser-2.0.0.dist-info/WHEEL' removed 'myst_parser-2.0.0.dist-info/METADATA' removed 'myst_parser-2.0.0.dist-info/entry_points.txt' removed directory 'myst_parser-2.0.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-myst-parser-2.0.0-3.fc40.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-myst-parser.spec'], chrootPath='/var/lib/mock/f40-build-2222877-52712/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-myst-parser.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1698624000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.I8CfWI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf MyST-Parser-2.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/myst-parser-2.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd MyST-Parser-2.0.0 + rm -rf /builddir/build/BUILD/MyST-Parser-2.0.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/MyST-Parser-2.0.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/4f670fc04.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.e8XTiG + umask 022 + cd /builddir/build/BUILD + cd MyST-Parser-2.0.0 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/MyST-Parser-2.0.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/MyST-Parser-2.0.0/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/MyST-Parser-2.0.0/pyproject-wheeldir --output /builddir/build/BUILD/python-myst-parser-2.0.0-3.fc40.noarch-pyproject-buildrequires Handling flit_core >=3.4,<4 from build-system.requires Requirement satisfied: flit_core >=3.4,<4 (installed: flit_core 3.9.0) Handling docutils>=0.16,<0.21 from hook generated metadata: Requires-Dist (myst-parser) Requirement satisfied: docutils>=0.16,<0.21 (installed: docutils 0.20.1) Handling jinja2 from hook generated metadata: Requires-Dist (myst-parser) Requirement satisfied: jinja2 (installed: jinja2 3.1.2) Handling markdown-it-py~=3.0 from hook generated metadata: Requires-Dist (myst-parser) Requirement satisfied: markdown-it-py~=3.0 (installed: markdown-it-py 3.0.0) Handling mdit-py-plugins~=0.4 from hook generated metadata: Requires-Dist (myst-parser) Requirement satisfied: mdit-py-plugins~=0.4 (installed: mdit-py-plugins 0.4.0) Handling pyyaml from hook generated metadata: Requires-Dist (myst-parser) Requirement satisfied: pyyaml (installed: pyyaml 6.0.1) Handling sphinx>=6,<8 from hook generated metadata: Requires-Dist (myst-parser) Requirement satisfied: sphinx>=6,<8 (installed: sphinx 7.2.6) Handling pre-commit~=3.0 ; extra == "code_style" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pre-commit~=3.0 ; extra == "code_style" Handling linkify-it-py~=2.0 ; extra == "linkify" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: linkify-it-py~=2.0 ; extra == "linkify" Handling ipython ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: ipython ; extra == "rtd" Handling sphinx-book-theme==1.0.0rc2 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinx-book-theme==1.0.0rc2 ; extra == "rtd" Handling pydata-sphinx-theme==v0.13.0rc4 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pydata-sphinx-theme==v0.13.0rc4 ; extra == "rtd" Handling sphinx-design2 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinx-design2 ; extra == "rtd" Handling sphinx-copybutton ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinx-copybutton ; extra == "rtd" Handling sphinxext-rediraffe~=0.2.7 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinxext-rediraffe~=0.2.7 ; extra == "rtd" Handling sphinxext-opengraph~=0.8.2 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinxext-opengraph~=0.8.2 ; extra == "rtd" Handling sphinx-pyscript ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinx-pyscript ; extra == "rtd" Handling sphinx-tippy>=0.3.1 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinx-tippy>=0.3.1 ; extra == "rtd" Handling sphinx-autodoc2~=0.4.2 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinx-autodoc2~=0.4.2 ; extra == "rtd" Handling sphinx-togglebutton ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinx-togglebutton ; extra == "rtd" Handling beautifulsoup4 ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: beautifulsoup4 ; extra == "testing" Handling coverage[toml] ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: coverage[toml] ; extra == "testing" Handling pytest>=7,<8 ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pytest>=7,<8 ; extra == "testing" Handling pytest-cov ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pytest-cov ; extra == "testing" Handling pytest-regressions ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pytest-regressions ; extra == "testing" Handling pytest-param-files~=0.3.4 ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pytest-param-files~=0.3.4 ; extra == "testing" Handling sphinx-pytest ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinx-pytest ; extra == "testing" Handling pygments ; extra == "testing-docutils" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pygments ; extra == "testing-docutils" Handling pytest>=7,<8 ; extra == "testing-docutils" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pytest>=7,<8 ; extra == "testing-docutils" Handling pytest-param-files~=0.3.4 ; extra == "testing-docutils" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pytest-param-files~=0.3.4 ; extra == "testing-docutils" + cat /builddir/build/BUILD/python-myst-parser-2.0.0-3.fc40.noarch-pyproject-buildrequires + rm -rfv myst_parser-2.0.0.dist-info/ removed 'myst_parser-2.0.0.dist-info/WHEEL' removed 'myst_parser-2.0.0.dist-info/METADATA' removed 'myst_parser-2.0.0.dist-info/entry_points.txt' removed directory 'myst_parser-2.0.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-myst-parser-2.0.0-3.fc40.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-myst-parser.spec'], chrootPath='/var/lib/mock/f40-build-2222877-52712/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-myst-parser.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1698624000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.eVD50D + umask 022 + cd /builddir/build/BUILD + cd MyST-Parser-2.0.0 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/MyST-Parser-2.0.0/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/MyST-Parser-2.0.0/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/MyST-Parser-2.0.0/pyproject-wheeldir --output /builddir/build/BUILD/python-myst-parser-2.0.0-3.fc40.noarch-pyproject-buildrequires Handling flit_core >=3.4,<4 from build-system.requires Requirement satisfied: flit_core >=3.4,<4 (installed: flit_core 3.9.0) Handling docutils>=0.16,<0.21 from hook generated metadata: Requires-Dist (myst-parser) Requirement satisfied: docutils>=0.16,<0.21 (installed: docutils 0.20.1) Handling jinja2 from hook generated metadata: Requires-Dist (myst-parser) Requirement satisfied: jinja2 (installed: jinja2 3.1.2) Handling markdown-it-py~=3.0 from hook generated metadata: Requires-Dist (myst-parser) Requirement satisfied: markdown-it-py~=3.0 (installed: markdown-it-py 3.0.0) Handling mdit-py-plugins~=0.4 from hook generated metadata: Requires-Dist (myst-parser) Requirement satisfied: mdit-py-plugins~=0.4 (installed: mdit-py-plugins 0.4.0) Handling pyyaml from hook generated metadata: Requires-Dist (myst-parser) Requirement satisfied: pyyaml (installed: pyyaml 6.0.1) Handling sphinx>=6,<8 from hook generated metadata: Requires-Dist (myst-parser) Requirement satisfied: sphinx>=6,<8 (installed: sphinx 7.2.6) Handling pre-commit~=3.0 ; extra == "code_style" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pre-commit~=3.0 ; extra == "code_style" Handling linkify-it-py~=2.0 ; extra == "linkify" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: linkify-it-py~=2.0 ; extra == "linkify" Handling ipython ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: ipython ; extra == "rtd" Handling sphinx-book-theme==1.0.0rc2 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinx-book-theme==1.0.0rc2 ; extra == "rtd" Handling pydata-sphinx-theme==v0.13.0rc4 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pydata-sphinx-theme==v0.13.0rc4 ; extra == "rtd" Handling sphinx-design2 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinx-design2 ; extra == "rtd" Handling sphinx-copybutton ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinx-copybutton ; extra == "rtd" Handling sphinxext-rediraffe~=0.2.7 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinxext-rediraffe~=0.2.7 ; extra == "rtd" Handling sphinxext-opengraph~=0.8.2 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinxext-opengraph~=0.8.2 ; extra == "rtd" Handling sphinx-pyscript ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinx-pyscript ; extra == "rtd" Handling sphinx-tippy>=0.3.1 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinx-tippy>=0.3.1 ; extra == "rtd" Handling sphinx-autodoc2~=0.4.2 ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinx-autodoc2~=0.4.2 ; extra == "rtd" Handling sphinx-togglebutton ; extra == "rtd" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinx-togglebutton ; extra == "rtd" Handling beautifulsoup4 ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: beautifulsoup4 ; extra == "testing" Handling coverage[toml] ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: coverage[toml] ; extra == "testing" Handling pytest>=7,<8 ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pytest>=7,<8 ; extra == "testing" Handling pytest-cov ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pytest-cov ; extra == "testing" Handling pytest-regressions ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pytest-regressions ; extra == "testing" Handling pytest-param-files~=0.3.4 ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pytest-param-files~=0.3.4 ; extra == "testing" Handling sphinx-pytest ; extra == "testing" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: sphinx-pytest ; extra == "testing" Handling pygments ; extra == "testing-docutils" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pygments ; extra == "testing-docutils" Handling pytest>=7,<8 ; extra == "testing-docutils" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pytest>=7,<8 ; extra == "testing-docutils" Handling pytest-param-files~=0.3.4 ; extra == "testing-docutils" from hook generated metadata: Requires-Dist (myst-parser) Ignoring alien requirement: pytest-param-files~=0.3.4 ; extra == "testing-docutils" + cat /builddir/build/BUILD/python-myst-parser-2.0.0-3.fc40.noarch-pyproject-buildrequires + rm -rfv myst_parser-2.0.0.dist-info/ removed 'myst_parser-2.0.0.dist-info/WHEEL' removed 'myst_parser-2.0.0.dist-info/METADATA' removed 'myst_parser-2.0.0.dist-info/entry_points.txt' removed directory 'myst_parser-2.0.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.O9KRfG + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd MyST-Parser-2.0.0 + mkdir -p /builddir/build/BUILD/MyST-Parser-2.0.0/.pyproject-builddir + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/MyST-Parser-2.0.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/MyST-Parser-2.0.0/pyproject-wheeldir Processing /builddir/build/BUILD/MyST-Parser-2.0.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: myst-parser Building wheel for myst-parser (pyproject.toml): started Running command Building wheel for myst-parser (pyproject.toml) Building wheel for myst-parser (pyproject.toml): finished with status 'done' Created wheel for myst-parser: filename=myst_parser-2.0.0-py3-none-any.whl size=77158 sha256=ae471ab239665f747c4eb86cddc4bcc920ad011ebf4075ee3f3897981ab9eae9 Stored in directory: /builddir/.cache/pip/wheels/0b/38/6a/cb3ad6c93a5a90411620924f3b5c20bb0f1d4bd68ac181896f Successfully built myst-parser + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IEnv7R + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch ++ dirname /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd MyST-Parser-2.0.0 ++ ls /builddir/build/BUILD/MyST-Parser-2.0.0/pyproject-wheeldir/myst_parser-2.0.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=myst_parser==2.0.0 + '[' -z myst_parser==2.0.0 ']' + TMPDIR=/builddir/build/BUILD/MyST-Parser-2.0.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/MyST-Parser-2.0.0/pyproject-wheeldir myst_parser==2.0.0 Using pip 23.2.1 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /builddir/build/BUILD/MyST-Parser-2.0.0/pyproject-wheeldir Processing ./pyproject-wheeldir/myst_parser-2.0.0-py3-none-any.whl Installing collected packages: myst_parser Creating /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin/myst-anchors to 755 changing mode of /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin/myst-docutils-demo to 755 changing mode of /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin/myst-docutils-html to 755 changing mode of /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin/myst-docutils-html5 to 755 changing mode of /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin/myst-docutils-latex to 755 changing mode of /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin/myst-docutils-pseudoxml to 755 changing mode of /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin/myst-docutils-xml to 755 changing mode of /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin/myst-inv to 755 Successfully installed myst_parser-2.0.0 + '[' -d /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin ']' + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin/myst-anchors /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin/myst-docutils-demo /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin/myst-docutils-html /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin/myst-docutils-html5 /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin/myst-docutils-latex /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin/myst-docutils-pseudoxml /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin/myst-docutils-xml /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin/myst-inv /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin/myst-anchors: updating /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin/myst-docutils-demo: updating /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin/myst-docutils-html: updating /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin/myst-docutils-html5: updating /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin/myst-docutils-latex: updating /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin/myst-docutils-pseudoxml: updating /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin/myst-docutils-xml: updating /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin/myst-inv: updating + rm -rfv /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/python-myst-parser-2.0.0-3.fc40.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/lib64/python3.12/site-packages '!=' /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/lib/python3.12/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/myst_parser-2.0.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/lib/python3.12/site-packages/myst_parser-2.0.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch --record /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/lib/python3.12/site-packages/myst_parser-2.0.0.dist-info/RECORD --output /builddir/build/BUILD/python-myst-parser-2.0.0-3.fc40.noarch-pyproject-record + rm -fv /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/lib/python3.12/site-packages/myst_parser-2.0.0.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/lib/python3.12/site-packages/myst_parser-2.0.0.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/lib/python3.12/site-packages/myst_parser-2.0.0.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/lib/python3.12/site-packages/myst_parser-2.0.0.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-myst-parser-2.0.0-3.fc40.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_PERCENTAGES_COUNT=2 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-myst-parser-2.0.0-3.fc40.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-myst-parser-2.0.0-3.fc40.noarch-pyproject-modules --buildroot /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch --sitelib /usr/lib/python3.12/site-packages --sitearch /usr/lib64/python3.12/site-packages --python-version 3.12 --pyproject-record /builddir/build/BUILD/python-myst-parser-2.0.0-3.fc40.noarch-pyproject-record --prefix /usr myst_parser + /usr/bin/find-debuginfo -j64 --strict-build-id -m -i --build-id-seed 2.0.0-3.fc40 --unique-debug-suffix -2.0.0-3.fc40.noarch --unique-debug-src-base python-myst-parser-2.0.0-3.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/MyST-Parser-2.0.0 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: ‘debug’: No such file or directory find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j64 Bytecompiling .py files below /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/lib/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.8vTjsn + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd MyST-Parser-2.0.0 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/MyST-Parser-2.0.0/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=64 + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.12.0, pytest-7.3.2, pluggy-1.3.0 rootdir: /builddir/build/BUILD/MyST-Parser-2.0.0 configfile: pyproject.toml plugins: datadir-1.5.0, sphinx_pytest-0.1.1, regressions-2.5.0, pytest_param_files-0.3.4 collected 1074 items tests/test_anchors.py . [ 0%] tests/test_docutils.py ........... [ 1%] tests/test_inventory.py .............. [ 2%] tests/test_commonmark/test_commonmark.py .............s................. [ 5%] ..................................s.s................................... [ 12%] ........................................................................ [ 18%] ........................................................................ [ 25%] ........................................................................ [ 32%] ........................................................................ [ 38%] ........................................................................ [ 45%] ........................................................................ [ 52%] ........................................................................ [ 58%] .......................................... [ 62%] tests/test_html/test_html_to_nodes.py ................. [ 64%] tests/test_html/test_parse_html.py ..................... [ 66%] tests/test_renderers/test_error_reporting.py ................. [ 67%] tests/test_renderers/test_fixtures_docutils.py ......................... [ 70%] .............................................s.......................... [ 77%] [ 77%] tests/test_renderers/test_fixtures_sphinx.py FFFFFFFFFFFFFFFFFFFFFFFFFFF [ 79%] FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFsFFFFFFFFFFFsFsFFFFFFFFFsFFsF [ 86%] FFFFFFFFFFFFFFFssFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFsFFFFFFFFFFFFFFFFFFFFFFFF [ 92%] FFFF [ 93%] tests/test_renderers/test_include_directive.py ........ [ 94%] tests/test_renderers/test_myst_config.py ....................... [ 96%] tests/test_renderers/test_myst_refs.py FFFFFFFFF [ 97%] tests/test_renderers/test_parse_directives.py ................ [ 98%] tests/test_sphinx/test_sphinx_builds.py ................ [100%] =================================== FAILURES =================================== _________________________ test_syntax_elements[1-Raw] __________________________ file_params = ParamTestData(line=1, title='Raw', description=None, content='foo\n', expected='\n \n foo\n', index=0, fmt=) sphinx_doctree_no_tr = @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa4370d70> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_1_Raw_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_1_Raw_0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa3d619c0> warning = <_io.StringIO object at 0x3fa3d63f40>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _____________________ test_syntax_elements[10-Hard-break] ______________________ file_params = ParamTestData(line=10, title='Hard-break', description=None, content='foo\\\nbar\n', expected='\n \\\\\n bar\n', index=1, fmt=) sphinx_doctree_no_tr = @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2fae840> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_10_Hard_b0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_10_Hard_b0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eec700> warning = <_io.StringIO object at 0x3fa2eeca00>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _______________________ test_syntax_elements[25-Strong:] _______________________ file_params = ParamTestData(line=25, title='Strong:', description=None, content='**foo**\n', expected=' result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2fa7350> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_25_Strong0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_25_Strong0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa3d62d40> warning = <_io.StringIO object at 0x3fa3d625c0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ______________________ test_syntax_elements[35-Emphasis] _______________________ file_params = ParamTestData(line=35, title='Emphasis', description=None, content='*foo*\n', expected=' result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2fa7950> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_35_Emphas0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_35_Emphas0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eec580> warning = <_io.StringIO object at 0x3fa2eec880>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError __________________ test_syntax_elements[45-Escaped Emphasis:] __________________ file_params = ParamTestData(line=45, title='Escaped Emphasis:', description=None, content='\\*foo*\n', expected='\n \n *foo*\n', index=4, fmt=) sphinx_doctree_no_tr = @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2fa6c00> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_45_Escape0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_45_Escape0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eecdc0> warning = <_io.StringIO object at 0x3fa2eecf40>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____________________ test_syntax_elements[54-Mixed Inline] _____________________ file_params = ParamTestData(line=54, title='Mixed Inline', description=None, content='a *b* **c** `abc` \\\\*\n', expected='\n abc\n \\*\n', index=5, fmt=) sphinx_doctree_no_tr = @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2fa5820> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_54_Mixed_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_54_Mixed_0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa3d62d40> warning = <_io.StringIO object at 0x3fa2eec4c0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____________________ test_syntax_elements[72-Inline Code:] _____________________ file_params = ParamTestData(line=72, title='Inline Code:', description=None, content='`foo`\n', expected=' result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2fa5f10> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_72_Inline0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_72_Inline0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eed3c0> warning = <_io.StringIO object at 0x3fa2eed540>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ______________________ test_syntax_elements[82-Heading:] _______________________ file_params = ParamTestData(line=82, title='Heading:', description=None, content='# foo\n', expected='\n \n foo\n', index=7, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2f7dd60> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2f7dfd0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_82_Headin0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_82_Headin0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eed780> warning = <_io.StringIO object at 0x3fa2eedc00>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___________________ test_syntax_elements[92-Heading Levels:] ___________________ file_params = ParamTestData(line=92, title='Heading Levels:', description=None, content='# a\n## b\n### c\n# d\n', expected='<docume...names="d">\n <title>\n d\n', index=8, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2f7ec90> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2f7e150> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_92_Headin0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_92_Headin0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa3d625c0> warning = <_io.StringIO object at 0x3fa2eede40>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___________________ test_syntax_elements[114-Nested heading] ___________________ file_params = ParamTestData(line=114, title='Nested heading', description=None, content='> # heading\n', expected='<document source=...="1" names="heading">\n heading\n', index=9, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2febd40> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2fe8d70> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_114_Neste0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_114_Neste0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eece80> warning = <_io.StringIO object at 0x3fa2eee140>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____________________ test_syntax_elements[124-Block Code:] _____________________ file_params = ParamTestData(line=124, title='Block Code:', description=None, content=' foo\n', expected='<document source="<src>/..."none" xml:space="preserve">\n foo\n', index=10, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2f1de80> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2f1dac0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_124_Block0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_124_Block0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eee5c0> warning = <_io.StringIO object at 0x3fa2eee980>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____________________ test_syntax_elements[133-Fenced Code:] ____________________ file_params = ParamTestData(line=133, title='Fenced Code:', description=None, content='```sh\nfoo\n```\n', expected='<document sourc...e="sh" xml:space="preserve">\n foo\n', index=11, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2f1cfe0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2f1e420> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_133_Fence0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_133_Fence0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa3d625c0> warning = <_io.StringIO object at 0x3fa2eee2c0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ______________ test_syntax_elements[144-Fenced Code no language:] ______________ file_params = ParamTestData(line=144, title='Fenced Code no language:', description=None, content='```\nfoo\n```\n', expected='<docu...fault" xml:space="preserve">\n foo\n', index=12, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2f5b320> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2f5ac30> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_144_Fence0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_144_Fence0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eece80> warning = <_io.StringIO object at 0x3fa2eee380>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _ test_syntax_elements[155-Fenced Code no language with trailing whitespace:] __ file_params = ParamTestData(line=155, title='Fenced Code no language with trailing whitespace:', description=None, content='``` \nf...fault" xml:space="preserve">\n foo\n', index=13, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2f6b5c0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2f6b590> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_155_Fence0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_155_Fence0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eed600> warning = <_io.StringIO object at 0x3fa2eed480>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____________________ test_syntax_elements[166-Image empty:] ____________________ file_params = ParamTestData(line=166, title='Image empty:', description=None, content='![]()\n', expected='<document source="<src>/i...paragraph>\n <image alt="" uri="">\n', index=14, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2fafad0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2fafa70> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_166_Image0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_166_Image0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eed840> warning = <_io.StringIO object at 0x3fa2eef040>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _____________ test_syntax_elements[175-Image with alt and title:] ______________ file_params = ParamTestData(line=175, title='Image with alt and title:', description=None, content='![alt](src "title")\n', expected...<image alt="alt" title="title" uri="src">\n', index=15, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2fae7b0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2faf8c0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_175_Image0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_175_Image0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eede40> warning = <_io.StringIO object at 0x3fa2eed900>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _____________ test_syntax_elements[184-Image with escapable html:] _____________ file_params = ParamTestData(line=184, title='Image with escapable html:', description=None, content='![alt](http://www.google<>.com)...="alt" uri="http://www.google%3C%3E.com">\n', index=16, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2faf500> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2fae360> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_184_Image0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_184_Image0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eef100> warning = <_io.StringIO object at 0x3fa2eef280>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____________________ test_syntax_elements[193-Block Quote:] ____________________ file_params = ParamTestData(line=193, title='Block Quote:', description=None, content='> *foo*\n', expected='<document source="<src>... <emphasis>\n foo\n', index=17, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2faffb0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2fadf10> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_193_Block0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_193_Block0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eef700> warning = <_io.StringIO object at 0x3fa2eee500>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____________________ test_syntax_elements[204-Bullet List:] ____________________ file_params = ParamTestData(line=204, title='Bullet List:', description=None, content='- *foo*\n* bar\n', expected='<document source... <paragraph>\n bar\n', index=18, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2faf4a0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2faf7a0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_204_Bulle0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_204_Bulle0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eee380> warning = <_io.StringIO object at 0x3fa2eef040>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___________________ test_syntax_elements[221-Nested Bullets] ___________________ file_params = ParamTestData(line=221, title='Nested Bullets', description=None, content='- a\n - b\n - c\n - d\n', expected='<d... <paragraph>\n d\n', index=19, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2e88110> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2e89460> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_221_Neste0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_221_Neste0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eef940> warning = <_io.StringIO object at 0x3fa2eefac0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError __________________ test_syntax_elements[246-Enumerated List:] __________________ file_params = ParamTestData(line=246, title='Enumerated List:', description=None, content='1. *foo*\n\n1) bar\n\npara\n\n10. startin... <paragraph>\n enumerator\n', index=20, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2e8a930> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2e8b110> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_246_Enume0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_246_Enume0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eeff40> warning = <_io.StringIO object at 0x3fa2eefa00>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _______________ test_syntax_elements[278-Nested Enumrated List:] _______________ file_params = ParamTestData(line=278, title='Nested Enumrated List:', description=None, content='1. a\n2. b\n 1. c\n', expected='... <paragraph>\n c\n', index=21, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2e8b680> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2e8b5f0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_278_Neste0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_278_Neste0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eed180> warning = <_io.StringIO object at 0x3fa2eee500>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError __________ test_syntax_elements[298-Sphinx Role containing backtick:] __________ file_params = ParamTestData(line=298, title='Sphinx Role containing backtick:', description=None, content='{code}``a=1{`}``\n', expe...teral classes="code">\n a=1{`}\n', index=22, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2e88920> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2e88980> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_298_Sphin0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_298_Sphin0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e80100> warning = <_io.StringIO object at 0x3fa2e80280>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ______________________ test_syntax_elements[308-Target:] _______________________ file_params = ParamTestData(line=308, title='Target:', description=None, content='(target)=\n', expected='<document source="<src>/in...n <target ids="target" names="target">\n', index=23, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2e8b1a0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2e891c0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_308_Targe0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_308_Targe0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eef880> warning = <_io.StringIO object at 0x3fa2eeebc0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ______________ test_syntax_elements[316-Target with whitespace:] _______________ file_params = ParamTestData(line=316, title='Target with whitespace:', description=None, content='(target with space)=\n', expected=...ith-space" names="target\\ with\\ space">\n', index=24, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2e89580> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2e89430> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_316_Targe0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_316_Targe0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eef040> warning = <_io.StringIO object at 0x3fa2e804c0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _____________________ test_syntax_elements[324-Comments:] ______________________ file_params = ParamTestData(line=324, title='Comments:', description=None, content='line 1\n% a comment\nline 2\n', expected='<docum... comment\n <paragraph>\n line 2\n', index=25, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2e8abd0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2e8ae10> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_324_Comme0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_324_Comme0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e80880> warning = <_io.StringIO object at 0x3fa2e80b80>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____________________ test_syntax_elements[339-Block Break:] ____________________ file_params = ParamTestData(line=339, title='Block Break:', description=None, content='+++ string\n', expected='<document source="<s...ak" xml:space="preserve">\n string\n', index=26, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2e8bf80> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2e8b7a0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_339_Block0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_339_Block0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eef040> warning = <_io.StringIO object at 0x3fa2eef880>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError __________________ test_syntax_elements[348-Link Reference:] ___________________ file_params = ParamTestData(line=348, title='Link Reference:', description=None, content='[name][key]\n\n[key]: https://www.google.c...ttps://www.google.com">\n name\n', index=27, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2e5a9c0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2e5b320> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_348_Link_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_348_Link_0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e80a00> warning = <_io.StringIO object at 0x3fa2e807c0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___________ test_syntax_elements[360-Link Reference short version:] ____________ file_params = ParamTestData(line=360, title='Link Reference short version:', description=None, content='[name]\n\n[name]: https://ww...ttps://www.google.com">\n name\n', index=28, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2e5ad50> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2e591c0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_360_Link_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_360_Link_0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e80e80> warning = <_io.StringIO object at 0x3fa2e81000>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___________________ test_syntax_elements[372-Block Quotes:] ____________________ file_params = ParamTestData(line=372, title='Block Quotes:', description=None, content='```{epigraph}\na b*c*\n\n-- a**b**\n```\n', ...\n <strong>\n b\n', index=29, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2f68050> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2f6b560> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_372_Block0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_372_Block0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa3d61840> warning = <_io.StringIO object at 0x3fa3d62680>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___________ test_syntax_elements[392-Link Definition in directive:] ____________ file_params = ParamTestData(line=392, title='Link Definition in directive:', description=None, content='```{note}\n[a]\n```\n\n[a]: ...asses="xref myst">\n a\n', index=30, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2faeb40> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2faf4d0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_392_Link_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_392_Link_0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa3d63d00> warning = <_io.StringIO object at 0x3fa2eef1c0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _______ test_syntax_elements[408-Link Definition in nested directives:] ________ file_params = ParamTestData(line=408, title='Link Definition in nested directives:', description=None, content='```{note}\n[ref1]: l... ref1\n\n [ref2]\n <note>\n', index=31, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa307a7e0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa307a6c0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_408_Link_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_408_Link_0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eefdc0> warning = <_io.StringIO object at 0x3fa2eefac0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _____________________ test_syntax_elements[435-Footnotes:] _____________________ file_params = ParamTestData(line=435, title='Footnotes:', description=None, content='[^a]\n\n[^a]: footnote*text*\n', expected='<doc... <emphasis>\n text\n', index=32, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa3078cb0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa307a360> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_435_Footn0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_435_Footn0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa3d62140> warning = <_io.StringIO object at 0x3fa3d62e00>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ______________ test_syntax_elements[452-Footnotes nested blocks:] ______________ file_params = ParamTestData(line=452, title='Footnotes nested blocks:', description=None, content='[^a]\n\n[^a]: footnote*text*\n\n ... b\n <paragraph>\n c\n', index=33, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2eda5a0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2eda270> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_452_Footn0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_452_Footn0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eef7c0> warning = <_io.StringIO object at 0x3fa2eeee00>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___________________ test_syntax_elements[495-Front Matter:] ____________________ file_params = ParamTestData(line=495, title='Front Matter:', description=None, content='---\na: 1\nb: foo\nc:\n d: 2\n---\n', exp...iteral>\n {"d": 2}\n', index=34, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa30bf8c0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa30bf3b0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_495_Front0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_495_Front0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eef100> warning = <_io.StringIO object at 0x3fa2eedb40>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ________________ test_syntax_elements[529-Front Matter Biblio:] ________________ file_params = ParamTestData(line=529, title='Front Matter Biblio:', description=None, content='---\nauthor: Chris Sewell\nauthors: C...>\n Something else\n', index=35, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa30bf560> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa30bf440> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_529_Front0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_529_Front0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa3d61840> warning = <_io.StringIO object at 0x3fa3d63d00>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _______________ test_syntax_elements[647-Front Matter Bad Yaml:] _______________ file_params = ParamTestData(line=647, title='Front Matter Bad Yaml:', description=None, content='---\na: {\n---\n', expected='<docum... Malformed YAML [myst.topmatter]\n', index=36, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa3040ce0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa3040e60> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_647_Front0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_647_Front0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eed480> warning = <_io.StringIO object at 0x3fa2eed6c0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _______________ test_syntax_elements[659-Front Matter HTML Meta] _______________ file_params = ParamTestData(line=659, title='Front Matter HTML Meta', description=None, content='---\nmyst:\n html_meta:\n ...et=ISO-8859-1" http-equiv="Content-Type">\n', index=37, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa3040f20> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa30425a0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_659_Front0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_659_Front0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eeea40> warning = <_io.StringIO object at 0x3fa2eee5c0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _____________________ test_syntax_elements[705-Full Test:] _____________________ file_params = ParamTestData(line=705, title='Full Test:', description=None, content='---\na: 1\n---\n\n(target)=\n# header 1\n## sub... <inline classes="xref myst">\n', index=38, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6c380>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa3042b40> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_syntax_elements.md") def test_syntax_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa3040e60> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_705_Full_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_syntax_elements_705_Full_0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa3d62b00> warning = <_io.StringIO object at 0x3fa2eeec80>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _______________________ test_link_resolution[1-external] _______________________ file_params = ParamTestData(line=1, title='external', description='', content='[alt2](https://www.google.com)\n[](https://www.google....com">\n https://www.google.com\n', index=0, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6dcd0>) sphinx_doctree = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa31b5190> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_link_resolution.md") def test_link_resolution(file_params, sphinx_doctree: CreateDoctree): sphinx_doctree.set_conf( {"extensions": ["myst_parser"], **settings_from_json(file_params.description)} ) sphinx_doctree.srcdir.joinpath("test.txt").touch() sphinx_doctree.srcdir.joinpath("other.rst").write_text(":orphan:\n\nTest\n====") > result = sphinx_doctree(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa31c3170> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_link_resolution_1_externa0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_link_resolution_1_externa0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eed780> warning = <_io.StringIO object at 0x3fa2eee980>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _______________________ test_link_resolution[18-missing] _______________________ file_params = ParamTestData(line=18, title='missing', description='', content='[](#test)\n<project:#test>\n[explicit](#test)\n', exp...ses="xref myst">\n explicit\n', index=1, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6dcd0>) sphinx_doctree = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa31c33e0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_link_resolution.md") def test_link_resolution(file_params, sphinx_doctree: CreateDoctree): sphinx_doctree.set_conf( {"extensions": ["myst_parser"], **settings_from_json(file_params.description)} ) sphinx_doctree.srcdir.joinpath("test.txt").touch() sphinx_doctree.srcdir.joinpath("other.rst").write_text(":orphan:\n\nTest\n====") > result = sphinx_doctree(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa31c3650> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_link_resolution_18_missin0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_link_resolution_18_missin0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eec880> warning = <_io.StringIO object at 0x3fa2eed240>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___________________ test_link_resolution[37-implicit_anchor] ___________________ file_params = ParamTestData(line=37, title='implicit_anchor', description='{"myst_heading_anchors": 1}', content='# Title\n# Longer ...fid="title">\n explicit\n', index=2, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6dcd0>) sphinx_doctree = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2fd60f0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_link_resolution.md") def test_link_resolution(file_params, sphinx_doctree: CreateDoctree): sphinx_doctree.set_conf( {"extensions": ["myst_parser"], **settings_from_json(file_params.description)} ) sphinx_doctree.srcdir.joinpath("test.txt").touch() sphinx_doctree.srcdir.joinpath("other.rst").write_text(":orphan:\n\nTest\n====") > result = sphinx_doctree(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2fd45c0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_link_resolution_37_implic0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_link_resolution_37_implic0/src/_build') freshenv = False confoverrides = {'extensions': ['myst_parser'], 'myst_heading_anchors': 1} status = <_io.StringIO object at 0x3fa3d62680> warning = <_io.StringIO object at 0x3fa2eeca00>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError __________________ test_link_resolution[73-explicit-heading] ___________________ file_params = ParamTestData(line=73, title='explicit-heading', description='', content='(target)=\n# Test\n\n[](#target)\n<project:#... <inline classes="xref myst">\n', index=3, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6dcd0>) sphinx_doctree = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2fd47a0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_link_resolution.md") def test_link_resolution(file_params, sphinx_doctree: CreateDoctree): sphinx_doctree.set_conf( {"extensions": ["myst_parser"], **settings_from_json(file_params.description)} ) sphinx_doctree.srcdir.joinpath("test.txt").touch() sphinx_doctree.srcdir.joinpath("other.rst").write_text(":orphan:\n\nTest\n====") > result = sphinx_doctree(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2fd4ce0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_link_resolution_73_explic0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_link_resolution_73_explic0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eed9c0> warning = <_io.StringIO object at 0x3fa2eed780>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _________________ test_link_resolution[104-explicit>implicit] __________________ file_params = ParamTestData(line=104, title='explicit>implicit', description='{"myst_heading_anchors": 1}', content='# Test\n\n(test...d std-ref">\n Other\n', index=4, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6dcd0>) sphinx_doctree = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa3167350> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_link_resolution.md") def test_link_resolution(file_params, sphinx_doctree: CreateDoctree): sphinx_doctree.set_conf( {"extensions": ["myst_parser"], **settings_from_json(file_params.description)} ) sphinx_doctree.srcdir.joinpath("test.txt").touch() sphinx_doctree.srcdir.joinpath("other.rst").write_text(":orphan:\n\nTest\n====") > result = sphinx_doctree(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa31671a0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_link_resolution_104_expli0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_link_resolution_104_expli0/src/_build') freshenv = False confoverrides = {'extensions': ['myst_parser'], 'myst_heading_anchors': 1} status = <_io.StringIO object at 0x3fa2eec700> warning = <_io.StringIO object at 0x3fa2eec040>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___________________ test_link_resolution[127-id-with-spaces] ___________________ file_params = ParamTestData(line=127, title='id-with-spaces', description='', content='(name with spaces)=\nParagraph\n\n[](<#name w...d-ref">\n #name with spaces\n', index=5, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6dcd0>) sphinx_doctree = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa3166ba0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_link_resolution.md") def test_link_resolution(file_params, sphinx_doctree: CreateDoctree): sphinx_doctree.set_conf( {"extensions": ["myst_parser"], **settings_from_json(file_params.description)} ) sphinx_doctree.srcdir.joinpath("test.txt").touch() sphinx_doctree.srcdir.joinpath("other.rst").write_text(":orphan:\n\nTest\n====") > result = sphinx_doctree(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa3167200> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_link_resolution_127_id_wi0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_link_resolution_127_id_wi0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eec280> warning = <_io.StringIO object at 0x3fa2eeec80>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _____________________ test_link_resolution[144-ref-table] ______________________ file_params = ParamTestData(line=144, title='ref-table', description='', content='```{table} caption\n:name: table\na | b\n-- | --\...True" refid="table">\n explicit\n', index=6, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6dcd0>) sphinx_doctree = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa3174f80> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_link_resolution.md") def test_link_resolution(file_params, sphinx_doctree: CreateDoctree): sphinx_doctree.set_conf( {"extensions": ["myst_parser"], **settings_from_json(file_params.description)} ) sphinx_doctree.srcdir.joinpath("test.txt").touch() sphinx_doctree.srcdir.joinpath("other.rst").write_text(":orphan:\n\nTest\n====") > result = sphinx_doctree(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa3176000> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_link_resolution_144_ref_t0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_link_resolution_144_ref_t0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eed9c0> warning = <_io.StringIO object at 0x3fa2eed300>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___________________ test_link_resolution[193-external-file] ____________________ file_params = ParamTestData(line=193, title='external-file', description='', content='[](test.txt)\n<path:./test.txt>\n[relative to ...">\n relative to source dir\n', index=7, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6dcd0>) sphinx_doctree = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa31765a0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_link_resolution.md") def test_link_resolution(file_params, sphinx_doctree: CreateDoctree): sphinx_doctree.set_conf( {"extensions": ["myst_parser"], **settings_from_json(file_params.description)} ) sphinx_doctree.srcdir.joinpath("test.txt").touch() sphinx_doctree.srcdir.joinpath("other.rst").write_text(":orphan:\n\nTest\n====") > result = sphinx_doctree(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa3175a30> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_link_resolution_193_exter0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_link_resolution_193_exter0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eed6c0> warning = <_io.StringIO object at 0x3fa2e81480>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____________________ test_link_resolution[214-source-file] _____________________ file_params = ParamTestData(line=214, title='source-file', description='', content='[](other.rst)\n<project:other.rst>\n[relative to...">\n relative to source dir\n', index=8, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6dcd0>) sphinx_doctree = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa3176150> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_link_resolution.md") def test_link_resolution(file_params, sphinx_doctree: CreateDoctree): sphinx_doctree.set_conf( {"extensions": ["myst_parser"], **settings_from_json(file_params.description)} ) sphinx_doctree.srcdir.joinpath("test.txt").touch() sphinx_doctree.srcdir.joinpath("other.rst").write_text(":orphan:\n\nTest\n====") > result = sphinx_doctree(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa3175f40> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_link_resolution_214_sourc0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_link_resolution_214_sourc0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eed300> warning = <_io.StringIO object at 0x3fa2eef940>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____________________________ test_tables[1-Simple:] ____________________________ file_params = ParamTestData(line=1, title='Simple:', description=None, content='a|b\n-|-\n1|2\n', expected='<document source="<src>/...<paragraph>\n 2\n', index=0, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6edb0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa3146d80> @pytest.mark.param_file(FIXTURE_PATH / "tables.md") def test_tables(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:56: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa31470b0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_tables_1_Simple__0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_tables_1_Simple__0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eeec80> warning = <_io.StringIO object at 0x3fa2e80d00>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _________________________ test_tables[30-Header only:] _________________________ file_params = ParamTestData(line=30, title='Header only:', description=None, content='| abc | def |\n| --- | --- |\n', expected='<do...aragraph>\n def\n', index=1, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6edb0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa31114f0> @pytest.mark.param_file(FIXTURE_PATH / "tables.md") def test_tables(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:56: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa3111bb0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_tables_30_Header_only__0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_tables_30_Header_only__0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e801c0> warning = <_io.StringIO object at 0x3fa2e80280>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___________________________ test_tables[50-Aligned:] ___________________________ file_params = ParamTestData(line=50, title='Aligned:', description=None, content='a | b | c\n:-|:-:| -:\n1 | 2 | 3\n', expected='<do...<paragraph>\n 3\n', index=2, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6edb0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa3128d40> @pytest.mark.param_file(FIXTURE_PATH / "tables.md") def test_tables(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:56: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa312bd70> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_tables_50_Aligned__0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_tables_50_Aligned__0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eef280> warning = <_io.StringIO object at 0x3fa2eedd80>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ________________________ test_tables[86-Nested syntax:] ________________________ file_params = ParamTestData(line=86, title='Nested syntax:', description=None, content='| *a* | __*b*__ |\n| --- | -------- |\n|c ...script>\n x\n', index=3, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6edb0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2e89a90> @pytest.mark.param_file(FIXTURE_PATH / "tables.md") def test_tables(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:56: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2e89760> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_tables_86_Nested_syntax__0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_tables_86_Nested_syntax__0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e80580> warning = <_io.StringIO object at 0x3fa2e80040>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _______________________ test_tables[119-External links:] _______________________ file_params = ParamTestData(line=119, title='External links:', description=None, content='a|b\n|-|-|\n[link-a](https://www.google.co...">\n link-b\n', index=4, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6edb0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2e8b770> @pytest.mark.param_file(FIXTURE_PATH / "tables.md") def test_tables(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:56: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2e88080> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_tables_119_External_links0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_tables_119_External_links0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e81600> warning = <_io.StringIO object at 0x3fa2e81780>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _________________ test_directive_options[1-Test Directive 1:] __________________ file_params = ParamTestData(line=1, title='Test Directive 1:', description=None, content='```{restructuredtext-test-directive}\n```\...", arguments=[], options={}, content: None\n', index=0, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6f3e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2e8bf80> @pytest.mark.param_file(FIXTURE_PATH / "directive_options.md") def test_directive_options(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:63: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2e8bb60> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_directive_options_1_Test_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_directive_options_1_Test_0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eed300> warning = <_io.StringIO object at 0x3fa2eeec80>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _________________ test_directive_options[12-Test Directive 2:] _________________ file_params = ParamTestData(line=12, title='Test Directive 2:', description=None, content='```{restructuredtext-test-directive}\nfoo...ock xml:space="preserve">\n foo\n', index=1, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6f3e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2e5a120> @pytest.mark.param_file(FIXTURE_PATH / "directive_options.md") def test_directive_options(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:63: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2e5a8d0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_directive_options_12_Test0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_directive_options_12_Test0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e819c0> warning = <_io.StringIO object at 0x3fa2e81c00>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _________________ test_directive_options[26-Test Directive 3:] _________________ file_params = ParamTestData(line=26, title='Test Directive 3:', description=None, content='```{restructuredtext-test-directive} foo\...ments=[\'foo\'], options={}, content: None\n', index=2, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6f3e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2e5a7e0> @pytest.mark.param_file(FIXTURE_PATH / "directive_options.md") def test_directive_options(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:63: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2e5a330> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_directive_options_26_Test0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_directive_options_26_Test0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e81d80> warning = <_io.StringIO object at 0x3fa2e81f00>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _________________ test_directive_options[37-Test Directive 4:] _________________ file_params = ParamTestData(line=37, title='Test Directive 4:', description=None, content='```{restructuredtext-test-directive} foo\...ock xml:space="preserve">\n bar\n', index=3, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6f3e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2e58b90> @pytest.mark.param_file(FIXTURE_PATH / "directive_options.md") def test_directive_options(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:63: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2e59220> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_directive_options_37_Test0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_directive_options_37_Test0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eecb80> warning = <_io.StringIO object at 0x3fa2e81cc0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _________________ test_directive_options[51-Test Directive 5:] _________________ file_params = ParamTestData(line=51, title='Test Directive 5:', description=None, content='```{restructuredtext-test-directive} foo ...s=[\'foo bar\'], options={}, content: None\n', index=4, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6f3e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2e5a300> @pytest.mark.param_file(FIXTURE_PATH / "directive_options.md") def test_directive_options(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:63: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2e5a1e0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_directive_options_51_Test0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_directive_options_51_Test0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e82380> warning = <_io.StringIO object at 0x3fa2e81e40>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _________________ test_directive_options[62-Test Directive 6:] _________________ file_params = ParamTestData(line=62, title='Test Directive 6:', description=None, content='```{restructuredtext-test-directive} foo ...ock xml:space="preserve">\n baz\n', index=5, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6f3e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2e59490> @pytest.mark.param_file(FIXTURE_PATH / "directive_options.md") def test_directive_options(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:63: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2e59f40> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_directive_options_62_Test0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_directive_options_62_Test0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e82500> warning = <_io.StringIO object at 0x3fa2e82680>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _________________ test_directive_options[76-Test Directive 7:] _________________ file_params = ParamTestData(line=76, title='Test Directive 7:', description=None, content='```{restructuredtext-test-directive}\n\nf...ock xml:space="preserve">\n foo\n', index=6, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6f3e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2e5ba70> @pytest.mark.param_file(FIXTURE_PATH / "directive_options.md") def test_directive_options(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:63: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2e59640> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_directive_options_76_Test0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_directive_options_76_Test0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eef940> warning = <_io.StringIO object at 0x3fa2e82bc0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _____________ test_directive_options[91-Test Directive Options 1:] _____________ file_params = ParamTestData(line=91, title='Test Directive Options 1:', description=None, content='```{restructuredtext-test-directi...ock xml:space="preserve">\n foo\n', index=7, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6f3e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d3aa50> @pytest.mark.param_file(FIXTURE_PATH / "directive_options.md") def test_directive_options(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:63: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d3a2a0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_directive_options_91_Test0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_directive_options_91_Test0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e825c0> warning = <_io.StringIO object at 0x3fa2e82380>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____________ test_directive_options[109-Test Directive Options 2:] _____________ file_params = ParamTestData(line=109, title='Test Directive Options 2:', description=None, content='```{restructuredtext-test-direct...ock xml:space="preserve">\n foo\n', index=8, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6f3e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d3bd40> @pytest.mark.param_file(FIXTURE_PATH / "directive_options.md") def test_directive_options(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:63: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d3acf0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_directive_options_109_Tes0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_directive_options_109_Tes0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e82c80> warning = <_io.StringIO object at 0x3fa2e82e00>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError __________ test_directive_options[125-Test Directive Options Error:] ___________ file_params = ParamTestData(line=125, title='Test Directive Options Error:', description=None, content='```{restructuredtext-test-di...ock xml:space="preserve">\n foo\n', index=9, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6f3e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d38b60> @pytest.mark.param_file(FIXTURE_PATH / "directive_options.md") def test_directive_options(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:63: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d3bd10> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_directive_options_125_Tes0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_directive_options_125_Tes0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e83340> warning = <_io.StringIO object at 0x3fa2e81cc0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ________________ test_directive_options[144-Unknown Directive:] ________________ file_params = ParamTestData(line=144, title='Unknown Directive:', description=None, content='```{unknown}\n```\n', expected='<docume...ng "unknown" as canonical directive name.\n', index=10, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6f3e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d3a4b0> @pytest.mark.param_file(FIXTURE_PATH / "directive_options.md") def test_directive_options(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:63: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d39130> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_directive_options_144_Unk0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_directive_options_144_Unk0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e825c0> warning = <_io.StringIO object at 0x3fa2e828c0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError __ test_sphinx_directives[1-default-role (`sphinx.directives.DefaultRole`):] ___ file_params = ParamTestData(line=1, title='default-role (`sphinx.directives.DefaultRole`):', description=None, content='```{default-...pected='<document source="<src>/index.md">\n', index=0, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d3b020> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d381d0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_1_defau0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_1_defau0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e83400> warning = <_io.StringIO object at 0x3fa2e83580>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _ test_sphinx_directives[9-default-domain (`sphinx.directives.DefaultDomain`):] _ file_params = ParamTestData(line=9, title='default-domain (`sphinx.directives.DefaultDomain`):', description=None, content='```{defa...pected='<document source="<src>/index.md">\n', index=1, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d38f80> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d3b950> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_9_defau0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_9_defau0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e83b80> warning = <_io.StringIO object at 0x3fa2e828c0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError __ test_sphinx_directives[17-object (`sphinx.directives.ObjectDescription`):] __ file_params = ParamTestData(line=17, title='object (`sphinx.directives.ObjectDescription`):', description=None, content='```{object}... something\n <desc_content>\n', index=2, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d3b1a0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d3aed0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_17_obje0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_17_obje0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e80100> warning = <_io.StringIO object at 0x3fa2e82440>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError __ test_sphinx_directives[31-highlight (`sphinx.directives.code.Highlight`):] __ file_params = ParamTestData(line=31, title='highlight (`sphinx.directives.code.Highlight`):', description=None, content='```{highlig...ng" linenothreshold="9223372036854775807">\n', index=3, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d676b0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d65e20> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_31_high0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_31_high0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e83f40> warning = <_io.StringIO object at 0x3fa2d6c1c0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _ test_sphinx_directives[40-code-block (`sphinx.directives.code.CodeBlock`):] __ file_params = ParamTestData(line=40, title='code-block (`sphinx.directives.code.CodeBlock`):', description=None, content='```{code-b...efault" xml:space="preserve">\n a=1\n', index=4, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa3175910> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa3111670> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_40_code0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_40_code0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa3d625c0> warning = <_io.StringIO object at 0x3fa2eef940>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _ test_sphinx_directives[53-sourcecode (`sphinx.directives.code.CodeBlock`):] __ file_params = ParamTestData(line=53, title='sourcecode (`sphinx.directives.code.CodeBlock`):', description=None, content='```{source..." language="default" xml:space="preserve">\n', index=5, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa3043320> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa30436e0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_53_sour0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_53_sour0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eeff40> warning = <_io.StringIO object at 0x3fa2eef7c0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___ test_sphinx_directives[73-toctree (`sphinx.directives.other.TocTree`):] ____ file_params = ParamTestData(line=73, title='toctree (`sphinx.directives.other.TocTree`):', description=None, content='```{toctree}\n...red="0" parent="index" titlesonly="False">\n', index=7, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2e5bb90> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2e58da0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_73_toct0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_73_toct0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eeea40> warning = <_io.StringIO object at 0x3fa2eedc00>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _ test_sphinx_directives[83-sectionauthor (`sphinx.directives.other.Author`):] _ file_params = ParamTestData(line=83, title='sectionauthor (`sphinx.directives.other.Author`):', description=None, content='```{secti...pected='<document source="<src>/index.md">\n', index=8, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa312bce0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa3128e90> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_83_sect0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_83_sect0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa3d62c80> warning = <_io.StringIO object at 0x3fa2eecf40>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _ test_sphinx_directives[91-moduleauthor (`sphinx.directives.other.Author`):] __ file_params = ParamTestData(line=91, title='moduleauthor (`sphinx.directives.other.Author`):', description=None, content='```{module...pected='<document source="<src>/index.md">\n', index=9, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2e5ba10> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2e59160> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_91_modu0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_91_modu0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eee440> warning = <_io.StringIO object at 0x3fa2eeff40>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError __ test_sphinx_directives[99-codeauthor (`sphinx.directives.other.Author`):] ___ file_params = ParamTestData(line=99, title='codeauthor (`sphinx.directives.other.Author`):', description=None, content='```{codeauth...ected='<document source="<src>/index.md">\n', index=10, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d3a7e0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d3b710> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_99_code0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_99_code0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eefa00> warning = <_io.StringIO object at 0x3fa2eeebc0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _____ test_sphinx_directives[107-index (`sphinx.directives.other.Index`):] _____ file_params = ParamTestData(line=107, title='index (`sphinx.directives.other.Index`):', description=None, content='```{index} someth...line="False">\n <target ids="index-0">\n', index=11, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d38bf0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d39ac0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_107_ind0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_107_ind0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eefb80> warning = <_io.StringIO object at 0x3fa2eeec80>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___ test_sphinx_directives[117-seealso (`sphinx.directives.other.SeeAlso`):] ___ file_params = ParamTestData(line=117, title='seealso (`sphinx.directives.other.SeeAlso`):', description=None, content='```{seealso}\...also>\n <paragraph>\n a\n', index=12, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d39c10> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d3b020> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_117_see0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_117_see0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eee440> warning = <_io.StringIO object at 0x3fa2eee5c0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _ test_sphinx_directives[130-tabularcolumns (`sphinx.directives.other.TabularColumns`):] _ file_params = ParamTestData(line=130, title='tabularcolumns (`sphinx.directives.other.TabularColumns`):', description=None, content=....md">\n <tabular_col_spec spec="spec">\n', index=13, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d65a00> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d64980> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_130_tab0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_130_tab0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eefac0> warning = <_io.StringIO object at 0x3fa2e80580>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError __ test_sphinx_directives[139-centered (`sphinx.directives.other.Centered`):] __ file_params = ParamTestData(line=139, title='centered (`sphinx.directives.other.Centered`):', description=None, content='```{centere.../index.md">\n <centered>\n text\n', index=14, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d678c0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d65fd0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_139_cen0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_139_cen0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eefdc0> warning = <_io.StringIO object at 0x3fa2eee440>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ______ test_sphinx_directives[149-acks (`sphinx.directives.other.Acks`):] ______ file_params = ParamTestData(line=149, title='acks (`sphinx.directives.other.Acks`):', description=None, content='```{acks}\n\n- name... <paragraph>\n name\n', index=15, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d677d0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d658e0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_149_ack0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_149_ack0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eef940> warning = <_io.StringIO object at 0x3fa2eec280>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _____ test_sphinx_directives[164-hlist (`sphinx.directives.other.HList`):] _____ file_params = ParamTestData(line=164, title='hlist (`sphinx.directives.other.HList`):', description=None, content='```{hlist}\n\n- i... <hlistcol>\n <bullet_list>\n', index=16, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d65e50> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d67050> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_164_hli0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_164_hli0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e83a00> warning = <_io.StringIO object at 0x3fa2e83640>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ______ test_sphinx_directives[182-only (`sphinx.directives.other.Only`):] ______ file_params = ParamTestData(line=182, title='only (`sphinx.directives.other.Only`):', description=None, content='```{only} expr\n```..."<src>/index.md">\n <only expr="expr">\n', index=17, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d64380> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d660f0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_182_onl0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_182_onl0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eedb40> warning = <_io.StringIO object at 0x3fa2eed000>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___ test_sphinx_directives[199-figure (`sphinx.directives.patches.Figure`):] ___ file_params = ParamTestData(line=199, title='figure (`sphinx.directives.patches.Figure`):', description=None, content='```{figure} p... <paragraph>\n legend\n', index=19, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d65760> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d65940> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_199_fig0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_199_fig0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e80880> warning = <_io.StringIO object at 0x3fa2e82740>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError __ test_sphinx_directives[228-table (`sphinx.directives.patches.RSTTable`):] ___ file_params = ParamTestData(line=228, title='table (`sphinx.directives.patches.RSTTable`):', description=None, content='```{table} *...paragraph>\n 2\n', index=21, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d804a0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d80590> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_228_tab0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_228_tab0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e81780> warning = <_io.StringIO object at 0x3fa2e81600>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _ test_sphinx_directives[264-csv-table (`sphinx.directives.patches.CSVTable`):] _ file_params = ParamTestData(line=264, title='csv-table (`sphinx.directives.patches.CSVTable`):', description=None, content='```{csv-...\n On a stick!\n', index=22, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d83740> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d80650> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_264_csv0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_264_csv0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eef7c0> warning = <_io.StringIO object at 0x3fa2eee5c0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _ test_sphinx_directives[290-list-table (`sphinx.directives.patches.ListTable`):] _ file_params = ParamTestData(line=290, title='list-table (`sphinx.directives.patches.ListTable`):', description=None, content='```{li...agraph>\n item\n', index=23, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d81790> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d83ef0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_290_lis0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_290_lis0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e83580> warning = <_io.StringIO object at 0x3fa2e81840>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _____ test_sphinx_directives[308-code (`sphinx.directives.patches.Code`):] _____ file_params = ParamTestData(line=308, title='code (`sphinx.directives.patches.Code`):', description=None, content='```{code} python\..."python" xml:space="preserve">\n a\n', index=24, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d83470> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d82f90> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_308_cod0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_308_cod0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e83400> warning = <_io.StringIO object at 0x3fa2e82680>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _ test_sphinx_directives[320-math (`sphinx.directives.patches.MathDirective`):] _ file_params = ParamTestData(line=320, title='math (`sphinx.directives.patches.MathDirective`):', description=None, content='```{math...alse" number="True" xml:space="preserve">\n', index=25, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d80e90> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d816a0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_320_mat0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_320_mat0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eec700> warning = <_io.StringIO object at 0x3fa2eee440>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _ test_sphinx_directives[329-deprecated (`sphinx.domains.changeset.VersionChange`):] _ file_params = ParamTestData(line=329, title='deprecated (`sphinx.domains.changeset.VersionChange`):', description=None, content='```... Deprecated since version 0.3.\n', index=26, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d81340> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d81220> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_329_dep0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_329_dep0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e81480> warning = <_io.StringIO object at 0x3fa2e80880>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _ test_sphinx_directives[341-versionadded (`sphinx.domains.changeset.VersionChange`):] _ file_params = ParamTestData(line=341, title='versionadded (`sphinx.domains.changeset.VersionChange`):', description=None, content='`...ed">\n New in version 0.2.\n', index=27, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d82780> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d828d0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_341_ver0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_341_ver0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e80b80> warning = <_io.StringIO object at 0x3fa2e81000>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _ test_sphinx_directives[353-versionchanged (`sphinx.domains.changeset.VersionChange`):] _ file_params = ParamTestData(line=353, title='versionchanged (`sphinx.domains.changeset.VersionChange`):', description=None, content=...\n Changed in version 0.1.\n', index=28, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d80170> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d81220> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_353_ver0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_353_ver0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eec040> warning = <_io.StringIO object at 0x3fa2e80940>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____ test_sphinx_directives[365-glossary (`sphinx.domains.std.Glossary`):] _____ file_params = ParamTestData(line=365, title='glossary (`sphinx.domains.std.Glossary`):', description=None, content='```{glossary}\n\... Definition of both terms.\n', index=29, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d723c0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d70590> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_365_glo0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_365_glo0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e83580> warning = <_io.StringIO object at 0x3fa2e81300>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___ test_sphinx_directives[400-cmdoption (`sphinx.domains.std.Cmdoption`):] ____ file_params = ParamTestData(line=400, title='cmdoption (`sphinx.domains.std.Cmdoption`):', description=None, content='```{cmdoption}...space="preserve">\n <desc_content>\n', index=31, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d70320> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d70410> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_400_cmd0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_400_cmd0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e82d40> warning = <_io.StringIO object at 0x3fa2d6c040>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _ test_sphinx_directives[415-rst:directive (`sphinx.domains.rst.ReSTDirective`):] _ file_params = ParamTestData(line=415, title='rst:directive (`sphinx.domains.rst.ReSTDirective`):', description=None, content='```{rs... .. a::\n <desc_content>\n', index=32, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d6fb30>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d71580> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_directives.md") def test_sphinx_directives(file_params, sphinx_doctree_no_tr: CreateDoctree): # TODO fix skipped directives # TODO test domain directives if file_params.title.startswith("SKIP") or file_params.title.startswith( "SPHINX4-SKIP" ): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d72fc0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_415_rst0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_directives_415_rst0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eedb40> warning = <_io.StringIO object at 0x3fa2e83280>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _________ test_sphinx_roles[1-c:func (`sphinx.domains.c.CXRefRole`):] __________ file_params = ParamTestData(line=1, title='c:func (`sphinx.domains.c.CXRefRole`):', description=None, content='{c:func}`a`\n', expec...sses="xref c c-func">\n a()\n', index=0, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d71100> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d70f20> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_1_c_func___s0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_1_c_func___s0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e80100> warning = <_io.StringIO object at 0x3fa2e81cc0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _________ test_sphinx_roles[12-c:member (`sphinx.domains.c.CObject`):] _________ file_params = ParamTestData(line=12, title='c:member (`sphinx.domains.c.CObject`):', description=None, content='{c:member}`a`\n', ex...sses="xref c c-member">\n a\n', index=1, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d71910> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d71160> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_12_c_member_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_12_c_member_0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e82bc0> warning = <_io.StringIO object at 0x3fa2e81f00>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _________ test_sphinx_roles[23-c:macro (`sphinx.domains.c.CObject`):] __________ file_params = ParamTestData(line=23, title='c:macro (`sphinx.domains.c.CObject`):', description=None, content='{c:macro}`a`\n', expe...asses="xref c c-macro">\n a\n', index=2, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d732f0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d72540> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_23_c_macro__0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_23_c_macro__0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e81540> warning = <_io.StringIO object at 0x3fa2e83100>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _________ test_sphinx_roles[34-c:data (`sphinx.domains.c.CXRefRole`):] _________ file_params = ParamTestData(line=34, title='c:data (`sphinx.domains.c.CXRefRole`):', description=None, content='{c:data}`a`\n', expe...lasses="xref c c-data">\n a\n', index=3, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d73350> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d73140> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_34_c_data___0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_34_c_data___0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e83280> warning = <_io.StringIO object at 0x3fa2e83d00>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError __________ test_sphinx_roles[45-c:type (`sphinx.domains.c.CObject`):] __________ file_params = ParamTestData(line=45, title='c:type (`sphinx.domains.c.CObject`):', description=None, content='{c:type}`a`\n', expect...lasses="xref c c-type">\n a\n', index=4, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2dbb5c0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2db9100> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_45_c_type___0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_45_c_type___0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2d6c640> warning = <_io.StringIO object at 0x3fa2d6cac0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ______ test_sphinx_roles[56-cpp:any (`sphinx.domains.cpp.CPPXRefRole`):] _______ file_params = ParamTestData(line=56, title='cpp:any (`sphinx.domains.cpp.CPPXRefRole`):', description=None, content='{cpp:any}`a`\n'...ses="xref cpp cpp-any">\n a\n', index=5, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2db90a0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2db9eb0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_56_cpp_any__0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_56_cpp_any__0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e83d00> warning = <_io.StringIO object at 0x3fa2e81540>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____ test_sphinx_roles[67-cpp:class (`sphinx.domains.cpp.CPPClassObject`):] ____ file_params = ParamTestData(line=67, title='cpp:class (`sphinx.domains.cpp.CPPClassObject`):', description=None, content='{cpp:class...s="xref cpp cpp-class">\n a\n', index=6, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2db9310> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2dbbec0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_67_cpp_class0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_67_cpp_class0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2d6ca00> warning = <_io.StringIO object at 0x3fa2d6cb80>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___ test_sphinx_roles[78-cpp:struct (`sphinx.domains.cpp.CPPClassObject`):] ____ file_params = ParamTestData(line=78, title='cpp:struct (`sphinx.domains.cpp.CPPClassObject`):', description=None, content='{cpp:stru...="xref cpp cpp-struct">\n a\n', index=7, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2db8560> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2db8620> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_78_cpp_struc0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_78_cpp_struc0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2d6d0c0> warning = <_io.StringIO object at 0x3fa2d6d240>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____ test_sphinx_roles[89-cpp:union (`sphinx.domains.cpp.CPPUnionObject`):] ____ file_params = ParamTestData(line=89, title='cpp:union (`sphinx.domains.cpp.CPPUnionObject`):', description=None, content='{cpp:union...s="xref cpp cpp-union">\n a\n', index=8, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d81820> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d80440> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_89_cpp_union0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_89_cpp_union0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa3d63d00> warning = <_io.StringIO object at 0x3fa2eeec80>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _____ test_sphinx_roles[100-cpp:func (`sphinx.domains.cpp.CPPXRefRole`):] ______ file_params = ParamTestData(line=100, title='cpp:func (`sphinx.domains.cpp.CPPXRefRole`):', description=None, content='{cpp:func}`a`...="xref cpp cpp-func">\n a()\n', index=9, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2e58da0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2e5bd10> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_100_cpp_func0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_100_cpp_func0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eed780> warning = <_io.StringIO object at 0x3fa2eed840>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError __ test_sphinx_roles[111-cpp:member (`sphinx.domains.cpp.CPPMemberObject`):] ___ file_params = ParamTestData(line=111, title='cpp:member (`sphinx.domains.cpp.CPPMemberObject`):', description=None, content='{cpp:me..."xref cpp cpp-member">\n a\n', index=10, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d66270> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d654f0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_111_cpp_memb0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_111_cpp_memb0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eef4c0> warning = <_io.StringIO object at 0x3fa2eef880>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____ test_sphinx_roles[122-cpp:var (`sphinx.domains.cpp.CPPMemberObject`):] ____ file_params = ParamTestData(line=122, title='cpp:var (`sphinx.domains.cpp.CPPMemberObject`):', description=None, content='{cpp:var}`...es="xref cpp cpp-var">\n a\n', index=11, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d83800> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d81520> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_122_cpp_var_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_122_cpp_var_0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eec880> warning = <_io.StringIO object at 0x3fa2eed300>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____ test_sphinx_roles[133-cpp:type (`sphinx.domains.cpp.CPPTypeObject`):] _____ file_params = ParamTestData(line=133, title='cpp:type (`sphinx.domains.cpp.CPPTypeObject`):', description=None, content='{cpp:type}`...s="xref cpp cpp-type">\n a\n', index=12, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d73860> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d70b00> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_133_cpp_type0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_133_cpp_type0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eefa00> warning = <_io.StringIO object at 0x3fa2eec580>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _ test_sphinx_roles[144-cpp:concept (`sphinx.domains.cpp.CPPConceptObject`):] __ file_params = ParamTestData(line=144, title='cpp:concept (`sphinx.domains.cpp.CPPConceptObject`):', description=None, content='{cpp:...xref cpp cpp-concept">\n a\n', index=13, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d70080> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2d73ce0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_144_cpp_conc0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_144_cpp_conc0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e807c0> warning = <_io.StringIO object at 0x3fa2e83580>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____ test_sphinx_roles[155-cpp:enum (`sphinx.domains.cpp.CPPEnumObject`):] _____ file_params = ParamTestData(line=155, title='cpp:enum (`sphinx.domains.cpp.CPPEnumObject`):', description=None, content='{cpp:enum}`...s="xref cpp cpp-enum">\n a\n', index=14, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2d83aa0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2dbbbc0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_155_cpp_enum0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_155_cpp_enum0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eefa00> warning = <_io.StringIO object at 0x3fa2eed840>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _ test_sphinx_roles[166-cpp:enumerator (`sphinx.domains.cpp.CPPEnumeratorObject`):] _ file_params = ParamTestData(line=166, title='cpp:enumerator (`sphinx.domains.cpp.CPPEnumeratorObject`):', description=None, content=...f cpp cpp-enumerator">\n a\n', index=15, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2dbba70> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2db9cd0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_166_cpp_enum0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_166_cpp_enum0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eec880> warning = <_io.StringIO object at 0x3fa2e81f00>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___ test_sphinx_roles[201-js:func (`sphinx.domains.javascript.JSXRefRole`):] ___ file_params = ParamTestData(line=201, title='js:func (`sphinx.domains.javascript.JSXRefRole`):', description=None, content='{js:func...s="xref js js-func">\n a()\n', index=18, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2dbae70> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2dbb2f0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_201_js_func_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_201_js_func_0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e82740> warning = <_io.StringIO object at 0x3fa2e82980>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___ test_sphinx_roles[212-js:meth (`sphinx.domains.javascript.JSXRefRole`):] ___ file_params = ParamTestData(line=212, title='js:meth (`sphinx.domains.javascript.JSXRefRole`):', description=None, content='{js:meth...s="xref js js-meth">\n a()\n', index=19, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2dba690> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2dba2a0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_212_js_meth_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_212_js_meth_0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eeebc0> warning = <_io.StringIO object at 0x3fa2eefa00>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _ test_sphinx_roles[223-js:class (`sphinx.domains.javascript.JSConstructor`):] _ file_params = ParamTestData(line=223, title='js:class (`sphinx.domains.javascript.JSConstructor`):', description=None, content='{js:...="xref js js-class">\n a()\n', index=20, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2dcc4d0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2dcc3e0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_223_js_class0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_223_js_class0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eef340> warning = <_io.StringIO object at 0x3fa2e82680>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____ test_sphinx_roles[234-js:data (`sphinx.domains.javascript.JSObject`):] ____ file_params = ParamTestData(line=234, title='js:data (`sphinx.domains.javascript.JSObject`):', description=None, content='{js:data}`...ses="xref js js-data">\n a\n', index=21, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2dcff50> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2dcd850> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_234_js_data_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_234_js_data_0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e81f00> warning = <_io.StringIO object at 0x3fa2e81000>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___ test_sphinx_roles[245-js:attr (`sphinx.domains.javascript.JSXRefRole`):] ___ file_params = ParamTestData(line=245, title='js:attr (`sphinx.domains.javascript.JSXRefRole`):', description=None, content='{js:attr...ses="xref js js-attr">\n a\n', index=22, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2dceb40> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2dce210> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_245_js_attr_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_245_js_attr_0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eec580> warning = <_io.StringIO object at 0x3fa2eedb40>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___ test_sphinx_roles[256-js:mod (`sphinx.domains.javascript.JSXRefRole`):] ____ file_params = ParamTestData(line=256, title='js:mod (`sphinx.domains.javascript.JSXRefRole`):', description=None, content='{js:mod}`...sses="xref js js-mod">\n a\n', index=23, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2dcc4d0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2dcf440> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_256_js_mod__0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_256_js_mod__0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e810c0> warning = <_io.StringIO object at 0x3fa2e80b80>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _____ test_sphinx_roles[267-eq (`sphinx.domains.math.MathReferenceRole`):] _____ file_params = ParamTestData(line=267, title='eq (`sphinx.domains.math.MathReferenceRole`):', description=None, content='{eq}`a`\n', ...ral classes="xref eq">\n a\n', index=24, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2dcd250> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2dcd100> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_267_eq___sph0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_267_eq___sph0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e83ac0> warning = <_io.StringIO object at 0x3fa2e81d80>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _ test_sphinx_roles[278-math:numref (`sphinx.domains.math.MathReferenceRole`):] _ file_params = ParamTestData(line=278, title='math:numref (`sphinx.domains.math.MathReferenceRole`):', description=None, content='{ma...ref math math-numref">\n a\n', index=25, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2dcd7c0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2dcf8f0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_278_math_num0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_278_math_num0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eec700> warning = <_io.StringIO object at 0x3fa2eed840>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _____ test_sphinx_roles[289-py:data (`sphinx.domains.python.PyVariable`):] _____ file_params = ParamTestData(line=289, title='py:data (`sphinx.domains.python.PyVariable`):', description=None, content='{py:data}`a`...ses="xref py py-data">\n a\n', index=26, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2dce240> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2dce060> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_289_py_data_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_289_py_data_0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e82140> warning = <_io.StringIO object at 0x3fa2e81c00>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _____ test_sphinx_roles[300-py:exc (`sphinx.domains.python.PyXRefRole`):] ______ file_params = ParamTestData(line=300, title='py:exc (`sphinx.domains.python.PyXRefRole`):', description=None, content='{py:exc}`a`\n...sses="xref py py-exc">\n a\n', index=27, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2dcfbc0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2dcfd70> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_300_py_exc__0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_300_py_exc__0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e82680> warning = <_io.StringIO object at 0x3fa2e83940>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _____ test_sphinx_roles[311-py:func (`sphinx.domains.python.PyXRefRole`):] _____ file_params = ParamTestData(line=311, title='py:func (`sphinx.domains.python.PyXRefRole`):', description=None, content='{py:func}`a`...s="xref py py-func">\n a()\n', index=28, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2dcd610> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2dcf020> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_311_py_func_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_311_py_func_0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eed840> warning = <_io.StringIO object at 0x3fa2e80580>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____ test_sphinx_roles[322-py:class (`sphinx.domains.python.PyClasslike`):] ____ file_params = ParamTestData(line=322, title='py:class (`sphinx.domains.python.PyClasslike`):', description=None, content='{py:class}...es="xref py py-class">\n a\n', index=29, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2bf77d0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2bf4a10> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_322_py_class0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_322_py_class0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e82200> warning = <_io.StringIO object at 0x3fa2e80b80>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____ test_sphinx_roles[333-py:const (`sphinx.domains.python.PyXRefRole`):] _____ file_params = ParamTestData(line=333, title='py:const (`sphinx.domains.python.PyXRefRole`):', description=None, content='{py:const}`...es="xref py py-const">\n a\n', index=30, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2bf5070> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2bf66f0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_333_py_const0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_333_py_const0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e837c0> warning = <_io.StringIO object at 0x3fa2d6d180>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _____ test_sphinx_roles[344-py:attr (`sphinx.domains.python.PyXRefRole`):] _____ file_params = ParamTestData(line=344, title='py:attr (`sphinx.domains.python.PyXRefRole`):', description=None, content='{py:attr}`a`...ses="xref py py-attr">\n a\n', index=31, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2f1e180> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2bf44a0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_344_py_attr_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_344_py_attr_0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e82200> warning = <_io.StringIO object at 0x3fa2e82ec0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _____ test_sphinx_roles[355-py:meth (`sphinx.domains.python.PyXRefRole`):] _____ file_params = ParamTestData(line=355, title='py:meth (`sphinx.domains.python.PyXRefRole`):', description=None, content='{py:meth}`a`...s="xref py py-meth">\n a()\n', index=32, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2bf4aa0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2bf4950> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_355_py_meth_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_355_py_meth_0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eee2c0> warning = <_io.StringIO object at 0x3fa2eedb40>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _____ test_sphinx_roles[366-py:mod (`sphinx.domains.python.PyXRefRole`):] ______ file_params = ParamTestData(line=366, title='py:mod (`sphinx.domains.python.PyXRefRole`):', description=None, content='{py:mod}`a`\n...sses="xref py py-mod">\n a\n', index=33, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2bf5b20> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2bf5d30> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_366_py_mod__0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_366_py_mod__0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2d6d6c0> warning = <_io.StringIO object at 0x3fa2d6ce80>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _____ test_sphinx_roles[377-py:obj (`sphinx.domains.python.PyXRefRole`):] ______ file_params = ParamTestData(line=377, title='py:obj (`sphinx.domains.python.PyXRefRole`):', description=None, content='{py:obj}`a`\n...sses="xref py py-obj">\n a\n', index=34, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2bf4ad0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2bf4aa0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_377_py_obj__0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_377_py_obj__0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e80c40> warning = <_io.StringIO object at 0x3fa2e82200>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _______ test_sphinx_roles[388-rst:role (`sphinx.domains.rst.ReSTRole`):] _______ file_params = ParamTestData(line=388, title='rst:role (`sphinx.domains.rst.ReSTRole`):', description=None, content='{rst:role}`a`\n'...s="xref rst rst-role">\n a\n', index=35, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2bf7d70> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2bf7b00> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_388_rst_role0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_388_rst_role0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2d6cac0> warning = <_io.StringIO object at 0x3fa2d6c700>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ________ test_sphinx_roles[399-program (`sphinx.domains.std.Program`):] ________ file_params = ParamTestData(line=399, title='program (`sphinx.domains.std.Program`):', description=None, content='{program}`a`\n', e..._strong classes="program">\n a\n', index=36, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c1c140> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c1e0c0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_399_program_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_399_program_0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2d6cdc0> warning = <_io.StringIO object at 0x3fa2d6c940>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _______ test_sphinx_roles[409-option (`sphinx.domains.std.Cmdoption`):] ________ file_params = ParamTestData(line=409, title='option (`sphinx.domains.std.Cmdoption`):', description=None, content='{option}`a`\n', e..."xref std std-option">\n a\n', index=37, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c1e3f0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c1cc20> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_409_option__0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_409_option__0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e80580> warning = <_io.StringIO object at 0x3fa2e83d00>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _____ test_sphinx_roles[420-envvar (`sphinx.domains.std.EnvVarXRefRole`):] _____ file_params = ParamTestData(line=420, title='envvar (`sphinx.domains.std.EnvVarXRefRole`):', description=None, content='{envvar}`a`\..."xref std std-envvar">\n a\n', index=38, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c1f830> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c1d760> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_420_envvar__0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_420_envvar__0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2d6c1c0> warning = <_io.StringIO object at 0x3fa2d6dc00>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _____________ test_sphinx_roles[433-index (`sphinx.roles.Index`):] _____________ file_params = ParamTestData(line=433, title='index (`sphinx.roles.Index`):', description=None, content='{index}`a`\n', expected='<do... <target ids="index-0">\n a\n', index=39, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c1cce0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c1cdd0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_433_index___0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_433_index___0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2d6c640> warning = <_io.StringIO object at 0x3fa2d6dcc0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError __________ test_sphinx_roles[444-download (`sphinx.roles.XRefRole`):] __________ file_params = ParamTestData(line=444, title='download (`sphinx.roles.XRefRole`):', description=None, content='{download}`a`\n', expe...asses="xref download">\n a\n', index=40, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c1d3d0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c1cbc0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_444_download0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_444_download0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e82200> warning = <_io.StringIO object at 0x3fa2d6da80>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___________ test_sphinx_roles[455-any (`sphinx.roles.AnyXRefRole`):] ___________ file_params = ParamTestData(line=455, title='any (`sphinx.roles.AnyXRefRole`):', description=None, content='{any}`a <alt text>`\n', ...al classes="xref any">\n a\n', index=41, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c1de80> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c1dc40> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_455_any___sp0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_455_any___sp0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2d6e380> warning = <_io.StringIO object at 0x3fa2d6e140>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _______________ test_sphinx_roles[466-pep (`sphinx.roles.PEP`):] _______________ file_params = ParamTestData(line=466, title='pep (`sphinx.roles.PEP`):', description=None, content='{pep}`1`\n', expected='<document... <strong>\n PEP 1\n', index=42, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c1f770> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c1f920> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_466_pep___sp0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_466_pep___sp0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2d6c580> warning = <_io.StringIO object at 0x3fa2d6e440>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _______________ test_sphinx_roles[479-rfc (`sphinx.roles.RFC`):] _______________ file_params = ParamTestData(line=479, title='rfc (`sphinx.roles.RFC`):', description=None, content='{rfc}`1`\n', expected='<document... <strong>\n RFC 1\n', index=43, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c1f4a0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c1d1f0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_479_rfc___sp0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_479_rfc___sp0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e82200> warning = <_io.StringIO object at 0x3fa2d6e680>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError __________ test_sphinx_roles[492-guilabel (`sphinx.roles.GUILabel`):] __________ file_params = ParamTestData(line=492, title='guilabel (`sphinx.roles.GUILabel`):', description=None, content='{guilabel}`a`\n', expe..." rawtext=":guilabel:`a`">\n a\n', index=44, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c1ca40> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c1ccb0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_492_guilabel0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_492_guilabel0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e837c0> warning = <_io.StringIO object at 0x3fa2e83100>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _____ test_sphinx_roles[502-menuselection (`sphinx.roles.MenuSelection`):] _____ file_params = ParamTestData(line=502, title='menuselection (`sphinx.roles.MenuSelection`):', description=None, content='{menuselecti...text=":menuselection:`a`">\n a\n', index=45, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2bf6780> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2bf5d30> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_502_menusele0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_502_menusele0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e828c0> warning = <_io.StringIO object at 0x3fa2e83f40>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _______ test_sphinx_roles[512-file (`sphinx.roles.EmphasizedLiteral`):] ________ file_params = ParamTestData(line=512, title='file (`sphinx.roles.EmphasizedLiteral`):', description=None, content='{file}`a`\n', exp...lasses="file" role="file">\n a\n', index=46, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2dcd310> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2dcee40> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_512_file___s0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_512_file___s0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e822c0> warning = <_io.StringIO object at 0x3fa2e81000>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _______ test_sphinx_roles[522-samp (`sphinx.roles.EmphasizedLiteral`):] ________ file_params = ParamTestData(line=522, title='samp (`sphinx.roles.EmphasizedLiteral`):', description=None, content='{samp}`a`\n', exp...lasses="samp" role="samp">\n a\n', index=47, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c1cce0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c1ca40> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_522_samp___s0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_522_samp___s0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e82980> warning = <_io.StringIO object at 0x3fa2e83c40>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError __________ test_sphinx_roles[542-rst:dir (`sphinx.roles.XRefRole`):] ___________ file_params = ParamTestData(line=542, title='rst:dir (`sphinx.roles.XRefRole`):', description=None, content='{rst:dir}`a`\n', expect...es="xref rst rst-dir">\n a\n', index=49, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2db8cb0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2dbb530> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_542_rst_dir_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_542_rst_dir_0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e801c0> warning = <_io.StringIO object at 0x3fa2e82bc0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___________ test_sphinx_roles[553-token (`sphinx.roles.XRefRole`):] ____________ file_params = ParamTestData(line=553, title='token (`sphinx.roles.XRefRole`):', description=None, content='{token}`a`\n', expected='...="xref std std-token">\n a\n', index=50, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2db9b50> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2dbb2c0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_553_token___0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_553_token___0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e807c0> warning = <_io.StringIO object at 0x3fa2e83dc0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____________ test_sphinx_roles[564-term (`sphinx.roles.XRefRole`):] ____________ file_params = ParamTestData(line=564, title='term (`sphinx.roles.XRefRole`):', description=None, content='{term}`a`\n', expected='<d...s="xref std std-term">\n a\n', index=51, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2dbb530> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2dbb1d0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_564_term___s0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_564_term___s0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e83580> warning = <_io.StringIO object at 0x3fa2e81e40>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____________ test_sphinx_roles[575-ref (`sphinx.roles.XRefRole`):] _____________ file_params = ParamTestData(line=575, title='ref (`sphinx.roles.XRefRole`):', description=None, content='{ref}`a`\n', expected='<doc...es="xref std std-ref">\n a\n', index=52, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c32390> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c32ab0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_575_ref___sp0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_575_ref___sp0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e81780> warning = <_io.StringIO object at 0x3fa2e82980>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____ test_sphinx_roles[586-ref with line breaks (`sphinx.roles.XRefRole`):] ____ file_params = ParamTestData(line=586, title='ref with line breaks (`sphinx.roles.XRefRole`):', description=None, content='{ref}`some... std std-ref">\n some text\n', index=53, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c33c20> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c33b00> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_586_ref_with0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_586_ref_with0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eed300> warning = <_io.StringIO object at 0x3fa2eed780>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___________ test_sphinx_roles[601-numref (`sphinx.roles.XRefRole`):] ___________ file_params = ParamTestData(line=601, title='numref (`sphinx.roles.XRefRole`):', description=None, content='{numref}`a`\n', expected..."xref std std-numref">\n a\n', index=54, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c32f60> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c33fe0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_601_numref__0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_601_numref__0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e83640> warning = <_io.StringIO object at 0x3fa2e83580>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError __________ test_sphinx_roles[612-keyword (`sphinx.roles.XRefRole`):] ___________ file_params = ParamTestData(line=612, title='keyword (`sphinx.roles.XRefRole`):', description=None, content='{keyword}`a`\n', expect...xref std std-keyword">\n a\n', index=55, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c31eb0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c307a0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_612_keyword_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_612_keyword_0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eeebc0> warning = <_io.StringIO object at 0x3fa2eef940>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____________ test_sphinx_roles[623-doc (`sphinx.roles.XRefRole`):] _____________ file_params = ParamTestData(line=623, title='doc (`sphinx.roles.XRefRole`):', description=None, content='{doc}`this lecture <heavy_t...d std-doc">\n this lecture\n', index=56, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d2e0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c32ff0> @pytest.mark.param_file(FIXTURE_PATH / "sphinx_roles.md") def test_sphinx_roles(file_params, sphinx_doctree_no_tr: CreateDoctree): if file_params.title.startswith("SKIP"): pytest.skip(file_params.title) sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > pformat = sphinx_doctree_no_tr(file_params.content, "index.md").pformat("index") tests/test_renderers/test_fixtures_sphinx.py:112: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c30b60> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_623_doc___sp0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_sphinx_roles_623_doc___sp0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eeeb00> warning = <_io.StringIO object at 0x3fa2d6c700>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _______________________ test_dollarmath[1-Inline Math:] ________________________ file_params = ParamTestData(line=1, title='Inline Math:', description=None, content='$foo$\n', expected='<document source="<src>/ind...aragraph>\n <math>\n foo\n', index=0, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3dcc680>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c329c0> @pytest.mark.param_file(FIXTURE_PATH / "dollarmath.md") def test_dollarmath(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf( {"extensions": ["myst_parser"], "myst_enable_extensions": ["dollarmath"]} ) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c333e0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_dollarmath_1_Inline_Math_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_dollarmath_1_Inline_Math_0/src/_build') freshenv = False confoverrides = {'extensions': ['myst_parser'], 'myst_enable_extensions': ['dollarmath']} status = <_io.StringIO object at 0x3fa2eef940> warning = <_io.StringIO object at 0x3fa2e81e40>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _________________ test_dollarmath[11-Inline Math, multi-line:] _________________ file_params = ParamTestData(line=11, title='Inline Math, multi-line:', description=None, content='a $foo\nbar$ b\n', expected='<docu... foo\n bar\n b\n', index=1, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3dcc680>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c32840> @pytest.mark.param_file(FIXTURE_PATH / "dollarmath.md") def test_dollarmath(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf( {"extensions": ["myst_parser"], "myst_enable_extensions": ["dollarmath"]} ) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c321b0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_dollarmath_11_Inline_Math0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_dollarmath_11_Inline_Math0/src/_build') freshenv = False confoverrides = {'extensions': ['myst_parser'], 'myst_enable_extensions': ['dollarmath']} status = <_io.StringIO object at 0x3fa2e83c40> warning = <_io.StringIO object at 0x3fa2e83640>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____ test_dollarmath[25-Inline Math, multi-line with line break (invalid):] ____ file_params = ParamTestData(line=25, title='Inline Math, multi-line with line break (invalid):', description=None, content='a $foo\n... a $foo\n <paragraph>\n bar$ b\n', index=2, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3dcc680>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c436e0> @pytest.mark.param_file(FIXTURE_PATH / "dollarmath.md") def test_dollarmath(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf( {"extensions": ["myst_parser"], "myst_enable_extensions": ["dollarmath"]} ) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c41e20> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_dollarmath_25_Inline_Math0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_dollarmath_25_Inline_Math0/src/_build') freshenv = False confoverrides = {'extensions': ['myst_parser'], 'myst_enable_extensions': ['dollarmath']} status = <_io.StringIO object at 0x3fa2d6c580> warning = <_io.StringIO object at 0x3fa2d6dc00>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _______________________ test_dollarmath[38-Math Block:] ________________________ file_params = ParamTestData(line=38, title='Math Block:', description=None, content='$$foo$$\n', expected='<document source="<src>/i...="True" xml:space="preserve">\n foo\n', index=3, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3dcc680>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c42c90> @pytest.mark.param_file(FIXTURE_PATH / "dollarmath.md") def test_dollarmath(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf( {"extensions": ["myst_parser"], "myst_enable_extensions": ["dollarmath"]} ) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c41b50> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_dollarmath_38_Math_Block_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_dollarmath_38_Math_Block_0/src/_build') freshenv = False confoverrides = {'extensions': ['myst_parser'], 'myst_enable_extensions': ['dollarmath']} status = <_io.StringIO object at 0x3fa2e82bc0> warning = <_io.StringIO object at 0x3fa2eeec80>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _____________ test_dollarmath[47-Math Block With Equation Label:] ______________ file_params = ParamTestData(line=47, title='Math Block With Equation Label:', description=None, content='$$foo$$ (abc)\n', expected=...ber="1" xml:space="preserve">\n foo\n', index=4, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3dcc680>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c42ed0> @pytest.mark.param_file(FIXTURE_PATH / "dollarmath.md") def test_dollarmath(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf( {"extensions": ["myst_parser"], "myst_enable_extensions": ["dollarmath"]} ) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c409e0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_dollarmath_47_Math_Block_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_dollarmath_47_Math_Block_0/src/_build') freshenv = False confoverrides = {'extensions': ['myst_parser'], 'myst_enable_extensions': ['dollarmath']} status = <_io.StringIO object at 0x3fa2d6e800> warning = <_io.StringIO object at 0x3fa2d6e500>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___________________ test_dollarmath[57-Math Block multiple:] ___________________ file_params = ParamTestData(line=57, title='Math Block multiple:', description=None, content='$$\na = 1\n$$\n\n$$\nb = 2\n$$ (a)\n',..."1" xml:space="preserve">\n\n b = 2\n', index=5, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3dcc680>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c40830> @pytest.mark.param_file(FIXTURE_PATH / "dollarmath.md") def test_dollarmath(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf( {"extensions": ["myst_parser"], "myst_enable_extensions": ["dollarmath"]} ) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:129: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c40920> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_dollarmath_57_Math_Block_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_dollarmath_57_Math_Block_0/src/_build') freshenv = False confoverrides = {'extensions': ['myst_parser'], 'myst_enable_extensions': ['dollarmath']} status = <_io.StringIO object at 0x3fa2d6d840> warning = <_io.StringIO object at 0x3fa2d6cdc0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _________________________ test_amsmath[1-Single Line:] _________________________ file_params = ParamTestData(line=1, title='Single Line:', description=None, content='\\begin{equation} a \\end{equation}\n', expecte... \\begin{equation} a \\end{equation}\n', index=0, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3dccd70>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c41040> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x3fa2c42090> @pytest.mark.param_file(FIXTURE_PATH / "amsmath.md") def test_amsmath(file_params, sphinx_doctree_no_tr: CreateDoctree, monkeypatch): monkeypatch.setattr(SphinxRenderer, "_random_label", lambda self: "mock-uuid") sphinx_doctree_no_tr.set_conf( {"extensions": ["myst_parser"], "myst_enable_extensions": ["amsmath"]} ) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:139: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa3a40d10> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_amsmath_1_Single_Line__0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_amsmath_1_Single_Line__0/src/_build') freshenv = False confoverrides = {'extensions': ['myst_parser'], 'myst_enable_extensions': ['amsmath']} status = <_io.StringIO object at 0x3fa2eeee00> warning = <_io.StringIO object at 0x3fa2e83640>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _________________________ test_amsmath[11-Multi Line:] _________________________ file_params = ParamTestData(line=11, title='Multi Line:', description=None, content='\\begin{equation}\na\n\\end{equation}\n', expec...ation}\n a\n \\end{equation}\n', index=1, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3dccd70>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c41730> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x3fa2c413a0> @pytest.mark.param_file(FIXTURE_PATH / "amsmath.md") def test_amsmath(file_params, sphinx_doctree_no_tr: CreateDoctree, monkeypatch): monkeypatch.setattr(SphinxRenderer, "_random_label", lambda self: "mock-uuid") sphinx_doctree_no_tr.set_conf( {"extensions": ["myst_parser"], "myst_enable_extensions": ["amsmath"]} ) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:139: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c415e0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_amsmath_11_Multi_Line__0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_amsmath_11_Multi_Line__0/src/_build') freshenv = False confoverrides = {'extensions': ['myst_parser'], 'myst_enable_extensions': ['amsmath']} status = <_io.StringIO object at 0x3fa2d6c940> warning = <_io.StringIO object at 0x3fa2d6d6c0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____________________ test_amsmath[25-Multi Line no number:] ____________________ file_params = ParamTestData(line=25, title='Multi Line no number:', description=None, content='\\begin{equation*}\na\n\\end{equation...ion*}\n a\n \\end{equation*}\n', index=2, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3dccd70>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c42f30> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x3fa2c42780> @pytest.mark.param_file(FIXTURE_PATH / "amsmath.md") def test_amsmath(file_params, sphinx_doctree_no_tr: CreateDoctree, monkeypatch): monkeypatch.setattr(SphinxRenderer, "_random_label", lambda self: "mock-uuid") sphinx_doctree_no_tr.set_conf( {"extensions": ["myst_parser"], "myst_enable_extensions": ["amsmath"]} ) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:139: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c431d0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_amsmath_25_Multi_Line_no_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_amsmath_25_Multi_Line_no_0/src/_build') freshenv = False confoverrides = {'extensions': ['myst_parser'], 'myst_enable_extensions': ['amsmath']} status = <_io.StringIO object at 0x3fa2d6d480> warning = <_io.StringIO object at 0x3fa2d6d780>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError __________________________ test_amsmath[38-In list:] ___________________________ file_params = ParamTestData(line=38, title='In list:', description=None, content='- \\begin{equation}\n a = 1\n \\end{equation}\n'... a = 1\n \\end{equation}\n', index=3, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3dccd70>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c43f20> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x3fa2c43cb0> @pytest.mark.param_file(FIXTURE_PATH / "amsmath.md") def test_amsmath(file_params, sphinx_doctree_no_tr: CreateDoctree, monkeypatch): monkeypatch.setattr(SphinxRenderer, "_random_label", lambda self: "mock-uuid") sphinx_doctree_no_tr.set_conf( {"extensions": ["myst_parser"], "myst_enable_extensions": ["amsmath"]} ) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:139: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c42270> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_amsmath_38_In_list__0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_amsmath_38_In_list__0/src/_build') freshenv = False confoverrides = {'extensions': ['myst_parser'], 'myst_enable_extensions': ['amsmath']} status = <_io.StringIO object at 0x3fa2e83640> warning = <_io.StringIO object at 0x3fa2d6e440>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ________________________ test_containers[1-Basic note:] ________________________ file_params = ParamTestData(line=1, title='Basic note:', description=None, content='::: {note}\n*hallo*\n:::\n', expected='<document... <emphasis>\n hallo\n', index=0, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3dcd2b0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c66ab0> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x3fa2c65f10> @pytest.mark.param_file(FIXTURE_PATH / "containers.md") def test_containers(file_params, sphinx_doctree_no_tr: CreateDoctree, monkeypatch): monkeypatch.setattr(SphinxRenderer, "_random_label", lambda self: "mock-uuid") sphinx_doctree_no_tr.set_conf( {"extensions": ["myst_parser"], "myst_enable_extensions": ["colon_fence"]} ) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:149: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c672c0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_containers_1_Basic_note__0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_containers_1_Basic_note__0/src/_build') freshenv = False confoverrides = {'extensions': ['myst_parser'], 'myst_enable_extensions': ['colon_fence']} status = <_io.StringIO object at 0x3fa2d6d300> warning = <_io.StringIO object at 0x3fa2d6d180>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _________________ test_containers[14-Admonition with options:] _________________ file_params = ParamTestData(line=14, title='Admonition with options:', description=None, content='::: {admonition} A **title**\n:cla... <emphasis>\n hallo\n', index=1, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3dcd2b0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c67290> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x3fa2c67cb0> @pytest.mark.param_file(FIXTURE_PATH / "containers.md") def test_containers(file_params, sphinx_doctree_no_tr: CreateDoctree, monkeypatch): monkeypatch.setattr(SphinxRenderer, "_random_label", lambda self: "mock-uuid") sphinx_doctree_no_tr.set_conf( {"extensions": ["myst_parser"], "myst_enable_extensions": ["colon_fence"]} ) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:149: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c645f0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_containers_14_Admonition_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_containers_14_Admonition_0/src/_build') freshenv = False confoverrides = {'extensions': ['myst_parser'], 'myst_enable_extensions': ['colon_fence']} status = <_io.StringIO object at 0x3fa2d6e2c0> warning = <_io.StringIO object at 0x3fa2d6e380>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _______________________ test_containers[33-empty name:] ________________________ file_params = ParamTestData(line=33, title='empty name:', description=None, content=':::\nThis is **content**\n:::\n', expected='<do... <strong>\n content\n', index=2, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3dcd2b0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c67800> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x3fa2c663c0> @pytest.mark.param_file(FIXTURE_PATH / "containers.md") def test_containers(file_params, sphinx_doctree_no_tr: CreateDoctree, monkeypatch): monkeypatch.setattr(SphinxRenderer, "_random_label", lambda self: "mock-uuid") sphinx_doctree_no_tr.set_conf( {"extensions": ["myst_parser"], "myst_enable_extensions": ["colon_fence"]} ) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:149: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c67e60> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_containers_33_empty_name_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_containers_33_empty_name_0/src/_build') freshenv = False confoverrides = {'extensions': ['myst_parser'], 'myst_enable_extensions': ['colon_fence']} status = <_io.StringIO object at 0x3fa2eef940> warning = <_io.StringIO object at 0x3fa2d6da80>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ________________________ test_containers[47-has name:] _________________________ file_params = ParamTestData(line=47, title='has name:', description=None, content=':::name\nThis is **content**\n:::\n', expected='<... <strong>\n content\n', index=3, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3dcd2b0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c64770> monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x3fa2c65550> @pytest.mark.param_file(FIXTURE_PATH / "containers.md") def test_containers(file_params, sphinx_doctree_no_tr: CreateDoctree, monkeypatch): monkeypatch.setattr(SphinxRenderer, "_random_label", lambda self: "mock-uuid") sphinx_doctree_no_tr.set_conf( {"extensions": ["myst_parser"], "myst_enable_extensions": ["colon_fence"]} ) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:149: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c66630> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_containers_47_has_name__0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_containers_47_has_name__0/src/_build') freshenv = False confoverrides = {'extensions': ['myst_parser'], 'myst_enable_extensions': ['colon_fence']} status = <_io.StringIO object at 0x3fa2d6e140> warning = <_io.StringIO object at 0x3fa2d6d300>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ____________________ test_evalrst_elements[1-eval-rst link] ____________________ file_params = ParamTestData(line=1, title='eval-rst link', description=None, content='```{eval-rst}\n`MyST Parser <https://myst-pars...uri="https://myst-parser.readthedocs.io/">\n', index=0, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3dcd7f0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c658e0> @pytest.mark.param_file(FIXTURE_PATH / "eval_rst.md") def test_evalrst_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c65a00> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_evalrst_elements_1_eval_r0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_evalrst_elements_1_eval_r0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2d6ed40> warning = <_io.StringIO object at 0x3fa2d6eec0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___________________ test_evalrst_elements[14-eval-rst bold] ____________________ file_params = ParamTestData(line=14, title='eval-rst bold', description=None, content='```{eval-rst}\n**bold**\n', expected='<docume...graph>\n <strong>\n bold\n', index=1, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3dcd7f0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c647a0> @pytest.mark.param_file(FIXTURE_PATH / "eval_rst.md") def test_evalrst_elements(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:156: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c64a40> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_evalrst_elements_14_eval_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_evalrst_elements_14_eval_0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2e83280> warning = <_io.StringIO object at 0x3fa2d6d0c0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _______________________ test_definition_lists[1-Simple:] _______________________ file_params = ParamTestData(line=1, title='Simple:', description=None, content='Term **1**\n\n: Definition *1*\n\n second paragraph... <paragraph>\n other\n', index=0, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3dcdbb0>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c67350> @pytest.mark.param_file(FIXTURE_PATH / "definition_lists.md") def test_definition_lists(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf( {"extensions": ["myst_parser"], "myst_enable_extensions": ["deflist"]} ) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:165: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c66f90> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_definition_lists_1_Simple0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_definition_lists_1_Simple0/src/_build') freshenv = False confoverrides = {'extensions': ['myst_parser'], 'myst_enable_extensions': ['deflist']} status = <_io.StringIO object at 0x3fa2d6e140> warning = <_io.StringIO object at 0x3fa2d6dd80>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ________________________ test_attributes[1-code fence] _________________________ file_params = ParamTestData(line=1, title='code fence', description=None, content='{lineno-start=1 emphasize-lines="2,3"}\n```python... a = 1\n b = 2\n c = 3\n', index=0, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d100>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c835c0> @pytest.mark.param_file(FIXTURE_PATH / "attributes.md") def test_attributes(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf( { "extensions": ["myst_parser"], "myst_enable_extensions": ["attrs_inline", "attrs_block"], } ) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c810d0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_attributes_1_code_fence_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_attributes_1_code_fence_0/src/_build') freshenv = False confoverrides = {'extensions': ['myst_parser'], 'myst_enable_extensions': ['attrs_inline', 'attrs_block']} status = <_io.StringIO object at 0x3fa2d6f4c0> warning = <_io.StringIO object at 0x3fa2d6f640>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ________________________ test_attributes[17-blockquote] ________________________ file_params = ParamTestData(line=17, title='blockquote', description=None, content='{attribution="Chris Sewell"}\n> Hallo\n', expect... <attribution>\n Chris Sewell\n', index=1, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d100>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c82ae0> @pytest.mark.param_file(FIXTURE_PATH / "attributes.md") def test_attributes(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf( { "extensions": ["myst_parser"], "myst_enable_extensions": ["attrs_inline", "attrs_block"], } ) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c81970> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_attributes_17_blockquote_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_attributes_17_blockquote_0/src/_build') freshenv = False confoverrides = {'extensions': ['myst_parser'], 'myst_enable_extensions': ['attrs_inline', 'attrs_block']} status = <_io.StringIO object at 0x3fa2d6dcc0> warning = <_io.StringIO object at 0x3fa2d6dd80>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ________________________ test_attributes[30-list-style] ________________________ file_params = ParamTestData(line=30, title='list-style', description=None, content='{style=lower-alpha}\n1. a\n2. b\n\n{style=upper-... <paragraph>\n b\n', index=2, fmt=<pytest_param_files.main.DotFormat object at 0x3fa3d9d100>) sphinx_doctree_no_tr = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2c82330> @pytest.mark.param_file(FIXTURE_PATH / "attributes.md") def test_attributes(file_params, sphinx_doctree_no_tr: CreateDoctree): sphinx_doctree_no_tr.set_conf( { "extensions": ["myst_parser"], "myst_enable_extensions": ["attrs_inline", "attrs_block"], } ) > result = sphinx_doctree_no_tr(file_params.content, "index.md") tests/test_renderers/test_fixtures_sphinx.py:177: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2c83aa0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_attributes_30_list_style_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_attributes_30_list_style_0/src/_build') freshenv = False confoverrides = {'extensions': ['myst_parser'], 'myst_enable_extensions': ['attrs_inline', 'attrs_block']} status = <_io.StringIO object at 0x3fa2d6f340> warning = <_io.StringIO object at 0x3fa2d6ee00>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___________________________ test_parse[null--False] ____________________________ test_name = 'null', text = '', should_warn = False sphinx_doctree = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2971fd0> file_regression = <pytest_regressions.file_regression.FileRegressionFixture object at 0x3fa2971df0> @pytest.mark.parametrize( "test_name,text,should_warn", [ ("null", "", False), ("missing", "[](ref)", True), ("doc", "[](index)", False), ("doc_with_extension", "[](index.md)", False), ("doc_nested", "[*text*](index)", False), ("ref", "(ref)=\n# Title\n[](ref)", False), ("ref_nested", "(ref)=\n# Title\n[*text*](ref)", False), ("duplicate", "(index)=\n# Title\n[](index)", True), ("ref_colon", "(ref:colon)=\n# Title\n[](ref:colon)", False), ], ) def test_parse( test_name: str, text: str, should_warn: bool, sphinx_doctree: CreateDoctree, file_regression, ): sphinx_doctree.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree(text, "index.md") tests/test_renderers/test_myst_refs.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2971eb0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_parse_null__False_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_parse_null__False_0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2d6f100> warning = <_io.StringIO object at 0x3fa2d6c1c0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _______________________ test_parse[missing-[](ref)-True] _______________________ test_name = 'missing', text = '[](ref)', should_warn = True sphinx_doctree = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2a722a0> file_regression = <pytest_regressions.file_regression.FileRegressionFixture object at 0x3fa2a71df0> @pytest.mark.parametrize( "test_name,text,should_warn", [ ("null", "", False), ("missing", "[](ref)", True), ("doc", "[](index)", False), ("doc_with_extension", "[](index.md)", False), ("doc_nested", "[*text*](index)", False), ("ref", "(ref)=\n# Title\n[](ref)", False), ("ref_nested", "(ref)=\n# Title\n[*text*](ref)", False), ("duplicate", "(index)=\n# Title\n[](index)", True), ("ref_colon", "(ref:colon)=\n# Title\n[](ref:colon)", False), ], ) def test_parse( test_name: str, text: str, should_warn: bool, sphinx_doctree: CreateDoctree, file_regression, ): sphinx_doctree.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree(text, "index.md") tests/test_renderers/test_myst_refs.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2a72510> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_parse_missing____ref__Tru0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_parse_missing____ref__Tru0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2d6e140> warning = <_io.StringIO object at 0x3fa2d6ee00>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _______________________ test_parse[doc-[](index)-False] ________________________ test_name = 'doc', text = '[](index)', should_warn = False sphinx_doctree = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa27d4e00> file_regression = <pytest_regressions.file_regression.FileRegressionFixture object at 0x3fa2a443e0> @pytest.mark.parametrize( "test_name,text,should_warn", [ ("null", "", False), ("missing", "[](ref)", True), ("doc", "[](index)", False), ("doc_with_extension", "[](index.md)", False), ("doc_nested", "[*text*](index)", False), ("ref", "(ref)=\n# Title\n[](ref)", False), ("ref_nested", "(ref)=\n# Title\n[*text*](ref)", False), ("duplicate", "(index)=\n# Title\n[](index)", True), ("ref_colon", "(ref:colon)=\n# Title\n[](ref:colon)", False), ], ) def test_parse( test_name: str, text: str, should_warn: bool, sphinx_doctree: CreateDoctree, file_regression, ): sphinx_doctree.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree(text, "index.md") tests/test_renderers/test_myst_refs.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2a44bc0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_parse_doc____index__False0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_parse_doc____index__False0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2d6f700> warning = <_io.StringIO object at 0x3fa2d6eec0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ______________ test_parse[doc_with_extension-[](index.md)-False] _______________ test_name = 'doc_with_extension', text = '[](index.md)', should_warn = False sphinx_doctree = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa29730b0> file_regression = <pytest_regressions.file_regression.FileRegressionFixture object at 0x3fa2997050> @pytest.mark.parametrize( "test_name,text,should_warn", [ ("null", "", False), ("missing", "[](ref)", True), ("doc", "[](index)", False), ("doc_with_extension", "[](index.md)", False), ("doc_nested", "[*text*](index)", False), ("ref", "(ref)=\n# Title\n[](ref)", False), ("ref_nested", "(ref)=\n# Title\n[*text*](ref)", False), ("duplicate", "(index)=\n# Title\n[](index)", True), ("ref_colon", "(ref:colon)=\n# Title\n[](ref:colon)", False), ], ) def test_parse( test_name: str, text: str, should_warn: bool, sphinx_doctree: CreateDoctree, file_regression, ): sphinx_doctree.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree(text, "index.md") tests/test_renderers/test_myst_refs.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa28da870> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_parse_doc_with_extension_0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_parse_doc_with_extension_0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eeeb00> warning = <_io.StringIO object at 0x3fa2d6fd00>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _________________ test_parse[doc_nested-[*text*](index)-False] _________________ test_name = 'doc_nested', text = '[*text*](index)', should_warn = False sphinx_doctree = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2836720> file_regression = <pytest_regressions.file_regression.FileRegressionFixture object at 0x3fa28376e0> @pytest.mark.parametrize( "test_name,text,should_warn", [ ("null", "", False), ("missing", "[](ref)", True), ("doc", "[](index)", False), ("doc_with_extension", "[](index.md)", False), ("doc_nested", "[*text*](index)", False), ("ref", "(ref)=\n# Title\n[](ref)", False), ("ref_nested", "(ref)=\n# Title\n[*text*](ref)", False), ("duplicate", "(index)=\n# Title\n[](index)", True), ("ref_colon", "(ref:colon)=\n# Title\n[](ref:colon)", False), ], ) def test_parse( test_name: str, text: str, should_warn: bool, sphinx_doctree: CreateDoctree, file_regression, ): sphinx_doctree.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree(text, "index.md") tests/test_renderers/test_myst_refs.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2837e30> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_parse_doc_nested___text__0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_parse_doc_nested___text__0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2d6dcc0> warning = <_io.StringIO object at 0x3fa2d6d6c0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ________________ test_parse[ref-(ref)=\n# Title\n[](ref)-False] ________________ test_name = 'ref', text = '(ref)=\n# Title\n[](ref)', should_warn = False sphinx_doctree = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa284e930> file_regression = <pytest_regressions.file_regression.FileRegressionFixture object at 0x3fa284ea20> @pytest.mark.parametrize( "test_name,text,should_warn", [ ("null", "", False), ("missing", "[](ref)", True), ("doc", "[](index)", False), ("doc_with_extension", "[](index.md)", False), ("doc_nested", "[*text*](index)", False), ("ref", "(ref)=\n# Title\n[](ref)", False), ("ref_nested", "(ref)=\n# Title\n[*text*](ref)", False), ("duplicate", "(index)=\n# Title\n[](index)", True), ("ref_colon", "(ref:colon)=\n# Title\n[](ref:colon)", False), ], ) def test_parse( test_name: str, text: str, should_warn: bool, sphinx_doctree: CreateDoctree, file_regression, ): sphinx_doctree.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree(text, "index.md") tests/test_renderers/test_myst_refs.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa284fb90> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_parse_ref__ref___n__Title0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_parse_ref__ref___n__Title0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2d6c4c0> warning = <_io.StringIO object at 0x3fa2d6cac0>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _________ test_parse[ref_nested-(ref)=\n# Title\n[*text*](ref)-False] __________ test_name = 'ref_nested', text = '(ref)=\n# Title\n[*text*](ref)' should_warn = False sphinx_doctree = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa285c230> file_regression = <pytest_regressions.file_regression.FileRegressionFixture object at 0x3fa285e930> @pytest.mark.parametrize( "test_name,text,should_warn", [ ("null", "", False), ("missing", "[](ref)", True), ("doc", "[](index)", False), ("doc_with_extension", "[](index.md)", False), ("doc_nested", "[*text*](index)", False), ("ref", "(ref)=\n# Title\n[](ref)", False), ("ref_nested", "(ref)=\n# Title\n[*text*](ref)", False), ("duplicate", "(index)=\n# Title\n[](index)", True), ("ref_colon", "(ref:colon)=\n# Title\n[](ref:colon)", False), ], ) def test_parse( test_name: str, text: str, should_warn: bool, sphinx_doctree: CreateDoctree, file_regression, ): sphinx_doctree.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree(text, "index.md") tests/test_renderers/test_myst_refs.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa285e5d0> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_parse_ref_nested__ref___n0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_parse_ref_nested__ref___n0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2d6cdc0> warning = <_io.StringIO object at 0x3fa2d6d840>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError ___________ test_parse[duplicate-(index)=\n# Title\n[](index)-True] ____________ test_name = 'duplicate', text = '(index)=\n# Title\n[](index)' should_warn = True sphinx_doctree = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa2997050> file_regression = <pytest_regressions.file_regression.FileRegressionFixture object at 0x3fa2b690d0> @pytest.mark.parametrize( "test_name,text,should_warn", [ ("null", "", False), ("missing", "[](ref)", True), ("doc", "[](index)", False), ("doc_with_extension", "[](index.md)", False), ("doc_nested", "[*text*](index)", False), ("ref", "(ref)=\n# Title\n[](ref)", False), ("ref_nested", "(ref)=\n# Title\n[*text*](ref)", False), ("duplicate", "(index)=\n# Title\n[](index)", True), ("ref_colon", "(ref:colon)=\n# Title\n[](ref:colon)", False), ], ) def test_parse( test_name: str, text: str, should_warn: bool, sphinx_doctree: CreateDoctree, file_regression, ): sphinx_doctree.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree(text, "index.md") tests/test_renderers/test_myst_refs.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa2973950> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_parse_duplicate__index___0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_parse_duplicate__index___0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2eeef80> warning = <_io.StringIO object at 0x3fa2d6d480>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError _______ test_parse[ref_colon-(ref:colon)=\n# Title\n[](ref:colon)-False] _______ test_name = 'ref_colon', text = '(ref:colon)=\n# Title\n[](ref:colon)' should_warn = False sphinx_doctree = <sphinx_pytest.plugin.CreateDoctree object at 0x3fa285e330> file_regression = <pytest_regressions.file_regression.FileRegressionFixture object at 0x3fa285c1a0> @pytest.mark.parametrize( "test_name,text,should_warn", [ ("null", "", False), ("missing", "[](ref)", True), ("doc", "[](index)", False), ("doc_with_extension", "[](index.md)", False), ("doc_nested", "[*text*](index)", False), ("ref", "(ref)=\n# Title\n[](ref)", False), ("ref_nested", "(ref)=\n# Title\n[*text*](ref)", False), ("duplicate", "(index)=\n# Title\n[](index)", True), ("ref_colon", "(ref:colon)=\n# Title\n[](ref:colon)", False), ], ) def test_parse( test_name: str, text: str, should_warn: bool, sphinx_doctree: CreateDoctree, file_regression, ): sphinx_doctree.set_conf({"extensions": ["myst_parser"]}) > result = sphinx_doctree(text, "index.md") tests/test_renderers/test_myst_refs.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.12/site-packages/sphinx_pytest/plugin.py:145: in __call__ self._app_cls( /usr/lib/python3.12/site-packages/sphinx/testing/fixtures.py:189: in make app_: Any = SphinxTestApp(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[AttributeError("'SphinxTestApp' object has no attribute 'builder'") raised in repr()] SphinxTestApp object at 0x3fa285c110> buildername = 'doctree' srcdir = path('/tmp/pytest-of-mockbuild/pytest-0/test_parse_ref_colon__ref_colo0/src') builddir = path('/tmp/pytest-of-mockbuild/pytest-0/test_parse_ref_colon__ref_colo0/src/_build') freshenv = False, confoverrides = {'extensions': ['myst_parser']} status = <_io.StringIO object at 0x3fa2d6df00> warning = <_io.StringIO object at 0x3fa2d6ea40>, tags = None docutilsconf = None, parallel = 0 def __init__( self, buildername: str = 'html', srcdir: Path | None = None, builddir: Path | None = None, freshenv: bool = False, confoverrides: dict | None = None, status: IO | None = None, warning: IO | None = None, tags: list[str] | None = None, docutilsconf: str | None = None, parallel: int = 0, ) -> None: assert srcdir is not None self.docutils_conf_path = srcdir / 'docutils.conf' if docutilsconf is not None: self.docutils_conf_path.write_text(docutilsconf, encoding='utf8') if builddir is None: builddir = srcdir / '_build' confdir = srcdir outdir = builddir.joinpath(buildername) > outdir.mkdir(parents=True, exist_ok=True) E AttributeError: 'path' object has no attribute 'mkdir'. Did you mean: 'isdir'? /usr/lib/python3.12/site-packages/sphinx/testing/util.py:105: AttributeError =============================== warnings summary =============================== tests/test_docutils.py: 11 warnings tests/test_renderers/test_error_reporting.py: 18 warnings tests/test_renderers/test_fixtures_docutils.py: 96 warnings tests/test_renderers/test_include_directive.py: 8 warnings tests/test_renderers/test_myst_config.py: 23 warnings tests/test_sphinx/test_sphinx_builds.py: 58 warnings /builddir/build/BUILDROOT/python-myst-parser-2.0.0-3.fc40.noarch/usr/lib/python3.12/site-packages/myst_parser/mdit_to_docutils/base.py:66: DeprecationWarning: The frontend.OptionParser class will be replaced by a subclass of argparse.ArgumentParser in Docutils 0.21 or later. settings = OptionParser(components=(parser_cls,)).get_default_values() tests/test_docutils.py: 876 warnings tests/test_renderers/test_error_reporting.py: 1242 warnings tests/test_renderers/test_fixtures_docutils.py: 7554 warnings tests/test_renderers/test_include_directive.py: 552 warnings tests/test_renderers/test_myst_config.py: 3726 warnings tests/test_sphinx/test_sphinx_builds.py: 4002 warnings /usr/lib64/python3.12/optparse.py:1000: DeprecationWarning: The frontend.Option class will be removed in Docutils 0.21 or later. option = self.option_class(*args, **kwargs) tests/test_docutils.py::test_help_text /builddir/build/BUILD/MyST-Parser-2.0.0/tests/test_docutils.py:97: DeprecationWarning: The frontend.OptionParser class will be replaced by a subclass of argparse.ArgumentParser in Docutils 0.21 or later. OptionParser(components=(Parser,)).print_help(stream) tests/test_renderers/test_fixtures_docutils.py: 10 warnings /builddir/build/BUILD/MyST-Parser-2.0.0/tests/test_renderers/test_fixtures_docutils.py:131: DeprecationWarning: Publisher.setup_option_parser is deprecated, and will be removed in Docutils 0.21. option_parser = pub.setup_option_parser() tests/test_renderers/test_fixtures_docutils.py: 10 warnings tests/test_renderers/test_myst_config.py: 23 warnings /usr/lib/python3.12/site-packages/docutils/core.py:120: DeprecationWarning: The frontend.OptionParser class will be replaced by a subclass of argparse.ArgumentParser in Docutils 0.21 or later. return OptionParser( tests/test_renderers/test_myst_config.py: 23 warnings /builddir/build/BUILD/MyST-Parser-2.0.0/tests/test_renderers/test_myst_config.py:25: DeprecationWarning: Publisher.setup_option_parser is deprecated, and will be removed in Docutils 0.21. option_parser = pub.setup_option_parser() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[1-Raw] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[10-Hard-break] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[25-Strong:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[35-Emphasis] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[45-Escaped Emphasis:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[54-Mixed Inline] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[72-Inline Code:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[82-Heading:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[92-Heading Levels:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[114-Nested heading] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[124-Block Code:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[133-Fenced Code:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[144-Fenced Code no language:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[155-Fenced Code no language with trailing whitespace:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[166-Image empty:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[175-Image with alt and title:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[184-Image with escapable html:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[193-Block Quote:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[204-Bullet List:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[221-Nested Bullets] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[246-Enumerated List:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[278-Nested Enumrated List:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[298-Sphinx Role containing backtick:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[308-Target:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[316-Target with whitespace:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[324-Comments:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[339-Block Break:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[348-Link Reference:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[360-Link Reference short version:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[372-Block Quotes:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[392-Link Definition in directive:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[408-Link Definition in nested directives:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[435-Footnotes:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[452-Footnotes nested blocks:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[495-Front Matter:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[529-Front Matter Biblio:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[647-Front Matter Bad Yaml:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[659-Front Matter HTML Meta] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[705-Full Test:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_link_resolution[1-external] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_link_resolution[18-missing] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_link_resolution[37-implicit_anchor] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_link_resolution[73-explicit-heading] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_link_resolution[104-explicit>implicit] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_link_resolution[127-id-with-spaces] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_link_resolution[144-ref-table] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_link_resolution[193-external-file] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_link_resolution[214-source-file] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_tables[1-Simple:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_tables[30-Header only:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_tables[50-Aligned:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_tables[86-Nested syntax:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_tables[119-External links:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_directive_options[1-Test Directive 1:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_directive_options[12-Test Directive 2:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_directive_options[26-Test Directive 3:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_directive_options[37-Test Directive 4:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_directive_options[51-Test Directive 5:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_directive_options[62-Test Directive 6:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_directive_options[76-Test Directive 7:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_directive_options[91-Test Directive Options 1:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_directive_options[109-Test Directive Options 2:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_directive_options[125-Test Directive Options Error:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_directive_options[144-Unknown Directive:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[1-default-role (`sphinx.directives.DefaultRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[9-default-domain (`sphinx.directives.DefaultDomain`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[17-object (`sphinx.directives.ObjectDescription`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[31-highlight (`sphinx.directives.code.Highlight`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[40-code-block (`sphinx.directives.code.CodeBlock`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[53-sourcecode (`sphinx.directives.code.CodeBlock`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[73-toctree (`sphinx.directives.other.TocTree`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[83-sectionauthor (`sphinx.directives.other.Author`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[91-moduleauthor (`sphinx.directives.other.Author`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[99-codeauthor (`sphinx.directives.other.Author`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[107-index (`sphinx.directives.other.Index`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[117-seealso (`sphinx.directives.other.SeeAlso`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[130-tabularcolumns (`sphinx.directives.other.TabularColumns`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[139-centered (`sphinx.directives.other.Centered`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[149-acks (`sphinx.directives.other.Acks`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[164-hlist (`sphinx.directives.other.HList`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[182-only (`sphinx.directives.other.Only`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[199-figure (`sphinx.directives.patches.Figure`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[228-table (`sphinx.directives.patches.RSTTable`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[264-csv-table (`sphinx.directives.patches.CSVTable`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[290-list-table (`sphinx.directives.patches.ListTable`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[308-code (`sphinx.directives.patches.Code`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[320-math (`sphinx.directives.patches.MathDirective`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[329-deprecated (`sphinx.domains.changeset.VersionChange`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[341-versionadded (`sphinx.domains.changeset.VersionChange`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[353-versionchanged (`sphinx.domains.changeset.VersionChange`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[365-glossary (`sphinx.domains.std.Glossary`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[400-cmdoption (`sphinx.domains.std.Cmdoption`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[415-rst:directive (`sphinx.domains.rst.ReSTDirective`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[1-c:func (`sphinx.domains.c.CXRefRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[12-c:member (`sphinx.domains.c.CObject`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[23-c:macro (`sphinx.domains.c.CObject`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[34-c:data (`sphinx.domains.c.CXRefRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[45-c:type (`sphinx.domains.c.CObject`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[56-cpp:any (`sphinx.domains.cpp.CPPXRefRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[67-cpp:class (`sphinx.domains.cpp.CPPClassObject`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[78-cpp:struct (`sphinx.domains.cpp.CPPClassObject`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[89-cpp:union (`sphinx.domains.cpp.CPPUnionObject`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[100-cpp:func (`sphinx.domains.cpp.CPPXRefRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[111-cpp:member (`sphinx.domains.cpp.CPPMemberObject`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[122-cpp:var (`sphinx.domains.cpp.CPPMemberObject`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[133-cpp:type (`sphinx.domains.cpp.CPPTypeObject`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[144-cpp:concept (`sphinx.domains.cpp.CPPConceptObject`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[155-cpp:enum (`sphinx.domains.cpp.CPPEnumObject`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[166-cpp:enumerator (`sphinx.domains.cpp.CPPEnumeratorObject`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[201-js:func (`sphinx.domains.javascript.JSXRefRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[212-js:meth (`sphinx.domains.javascript.JSXRefRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[223-js:class (`sphinx.domains.javascript.JSConstructor`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[234-js:data (`sphinx.domains.javascript.JSObject`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[245-js:attr (`sphinx.domains.javascript.JSXRefRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[256-js:mod (`sphinx.domains.javascript.JSXRefRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[267-eq (`sphinx.domains.math.MathReferenceRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[278-math:numref (`sphinx.domains.math.MathReferenceRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[289-py:data (`sphinx.domains.python.PyVariable`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[300-py:exc (`sphinx.domains.python.PyXRefRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[311-py:func (`sphinx.domains.python.PyXRefRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[322-py:class (`sphinx.domains.python.PyClasslike`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[333-py:const (`sphinx.domains.python.PyXRefRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[344-py:attr (`sphinx.domains.python.PyXRefRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[355-py:meth (`sphinx.domains.python.PyXRefRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[366-py:mod (`sphinx.domains.python.PyXRefRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[377-py:obj (`sphinx.domains.python.PyXRefRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[388-rst:role (`sphinx.domains.rst.ReSTRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[399-program (`sphinx.domains.std.Program`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[409-option (`sphinx.domains.std.Cmdoption`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[420-envvar (`sphinx.domains.std.EnvVarXRefRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[433-index (`sphinx.roles.Index`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[444-download (`sphinx.roles.XRefRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[455-any (`sphinx.roles.AnyXRefRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[466-pep (`sphinx.roles.PEP`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[479-rfc (`sphinx.roles.RFC`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[492-guilabel (`sphinx.roles.GUILabel`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[502-menuselection (`sphinx.roles.MenuSelection`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[512-file (`sphinx.roles.EmphasizedLiteral`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[522-samp (`sphinx.roles.EmphasizedLiteral`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[542-rst:dir (`sphinx.roles.XRefRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[553-token (`sphinx.roles.XRefRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[564-term (`sphinx.roles.XRefRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[575-ref (`sphinx.roles.XRefRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[586-ref with line breaks (`sphinx.roles.XRefRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[601-numref (`sphinx.roles.XRefRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[612-keyword (`sphinx.roles.XRefRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_roles[623-doc (`sphinx.roles.XRefRole`):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_dollarmath[1-Inline Math:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_dollarmath[11-Inline Math, multi-line:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_dollarmath[25-Inline Math, multi-line with line break (invalid):] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_dollarmath[38-Math Block:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_dollarmath[47-Math Block With Equation Label:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_dollarmath[57-Math Block multiple:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_amsmath[1-Single Line:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_amsmath[11-Multi Line:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_amsmath[25-Multi Line no number:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_amsmath[38-In list:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_containers[1-Basic note:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_containers[14-Admonition with options:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_containers[33-empty name:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_containers[47-has name:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_evalrst_elements[1-eval-rst link] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_evalrst_elements[14-eval-rst bold] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_definition_lists[1-Simple:] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_attributes[1-code fence] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_attributes[17-blockquote] FAILED tests/test_renderers/test_fixtures_sphinx.py::test_attributes[30-list-style] FAILED tests/test_renderers/test_myst_refs.py::test_parse[null--False] - Attr... FAILED tests/test_renderers/test_myst_refs.py::test_parse[missing-[](ref)-True] FAILED tests/test_renderers/test_myst_refs.py::test_parse[doc-[](index)-False] FAILED tests/test_renderers/test_myst_refs.py::test_parse[doc_with_extension-[](index.md)-False] FAILED tests/test_renderers/test_myst_refs.py::test_parse[doc_nested-[*text*](index)-False] FAILED tests/test_renderers/test_myst_refs.py::test_parse[ref-(ref)=\n# Title\n[](ref)-False] FAILED tests/test_renderers/test_myst_refs.py::test_parse[ref_nested-(ref)=\n# Title\n[*text*](ref)-False] FAILED tests/test_renderers/test_myst_refs.py::test_parse[duplicate-(index)=\n# Title\n[](index)-True] FAILED tests/test_renderers/test_myst_refs.py::test_parse[ref_colon-(ref:colon)=\n# Title\n[](ref:colon)-False] ========= 176 failed, 886 passed, 12 skipped, 18233 warnings in 48.41s ========= error: Bad exit status from /var/tmp/rpm-tmp.8vTjsn (%check) Bad exit status from /var/tmp/rpm-tmp.8vTjsn (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-myst-parser.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-myst-parser.spec