Coder Social home page Coder Social logo

mondeja / pytest-blender Goto Github PK

View Code? Open in Web Editor NEW
33.0 3.0 7.0 122 KB

Pytest plugin for easy addons testing with Blender's Python interpreter

License: BSD 3-Clause "New" or "Revised" License

Python 97.94% Shell 2.06%
blender-python pytest-blender blender pytest-plugin

pytest-blender's Introduction

pytest-blender

PyPI Python versions License Tests

Pytest plugin for Blender testing. Executes your pytest testsuite with Blender in headless mode using its builtin Python interpreter.

Install

pip install pytest-blender

Documentation

Usage

Before execute it, you need to install your testing dependencies inside the builtin Blender Python interpreter. To get the interpreter location you can use the CLI utility pytest-blender, something like:

blender_python="$(pytest-blender)"
$blender_python -m ensurepip
$blender_python -m pip install -r test-requirements.txt

After installing dependencies, just call pytest as usually.

pytest -svv
Blender 2.82 (sub 7)
Read prefs: ~/.config/blender/2.82/config/userpref.blend
=================== test session starts ===================
platform linux -- Python 3.8.5, pytest-6.1.2, py-1.9.0, pluggy-0.13.1 -- /usr/bin/blender
cachedir: .pytest_cache
rootdir: /home/mondeja/files/code/pytest-blender
collected 1 item

tests/test_bpy_import.py::test_inside_blender <module 'bpy' from '/usr/share/blender/scripts/modules/bpy/__init__.py'>
PASSED
==================== 1 passed in 0.01s ====================

Reference

Configuration

All options can be passed as a CLI argument like --[option-name] or defined inside a configuration file.

blender-executable

Specify a custom blender executable location.

pytest --blender-executable ~/blender-2.91.2-linux64/blender
[pytest]
blender-executable = ~/blender-2.91.2-linux64/blender
Blender 2.91.2 (hash 5be9ef417703 built 2021-01-19 16:16:34)
Read prefs: ~/.config/blender/2.91/config/userpref.blend
found bundled python: ~/blender-2.91.2-linux64/2.91/python
=================== test session starts ===================
platform linux -- Python 3.7.7, pytest-6.2.2, py-1.10.0, pluggy-0.13.1
rootdir: ~/pytest-blender
collected 1 item

tests/test_bpy_import.py .                                                [100%]

==================== 1 passed in 0.00s ====================
blender-template

Load a custom startup .blend template.

pytest -svv --blender-template ~/.config/blender/2.93/config/startup.blend
[pytest]
blender-template = ~/.config/blender/2.93/config/startup.blend
addopts = -svv
blender-addons-dirs

Install addons inside Blender before executing the test suite. This allows you to easily test them.

By "addons" Blender understands Python scripts whose file names end with .py, .zip files for compressed packages with multiple modules or directories for Python packages which contain a __init__.py file. These must be located in the root of each directory passed to blender-addons-dirs.

For example, given the next directory tree:

๐Ÿ“ addons-dirs
โ”œโ”€โ”€ ๐Ÿ“ private-addons
โ”‚   โ””โ”€โ”€ ๐Ÿ“ package_addon
โ”‚       โ”œโ”€โ”€ ๐Ÿ“„ __init__.py 
โ”‚       โ””โ”€โ”€ ๐Ÿ“„ main.py
|
โ””โ”€โ”€ ๐Ÿ“ public-addons
    โ”œโ”€โ”€ ๐Ÿ“„ module_addon.py
    โ””โ”€โ”€ ๐Ÿ“„ compressed_addon.zip
        โ”œโ”€โ”€ ๐Ÿ“„ __init__.py 
        โ””โ”€โ”€ ๐Ÿ“„ main.py

The next configurations will install the addons package_addon, module_addon and compressed_addon.

pytest tests --blender-addons-dirs addons-dirs/private-addons addons-dirs/public-addons
[pytest]
blender-addons-dirs =
    addons-dirs/private-addons
    addons-dirs/public-addons

You can also define a unique addons directory in configuration files defining it as a string:

[pytest]
blender-addons-dirs = addons-dirs/public-addons

If you need more complex setups see the fixtures install_addons_from_dir, disable_addons and uninstall_addons.

blender-addons-cleaning

Define the addons cleaning strategy to follow after executing your test suite. It only affects to the addons installed using blender-addons-dirs.

It accepts one of the next values:

  • uninstall (default): Uninstall the addons after executing the test suite.
  • disable: Just disable the addons in user preferences, but does not uninstall them.
  • keep: Keep the addons enabled. Useful if you want to manually review the addons or while you're developing.
pytest --blender-addons-cleaning disable
[pytest]
blender-addons-cleaning = disable
pytest-blender-debug

Show in STDOUT the command executed by pytest-blender executing your test suite.

pytest --pytest-blender-debug
[pytest]
pytest-blender-debug = true
[DEBUG (pytest-blender)] Running blender with: /usr/bin/blender -b --python /home/foo/files/code/pytest-blender/pytest_blender/run_pytest.py -- --pytest-blender-executable /usr/bin/blender -svv --rootdir=/tmp/tmpdsh0wnsf --strict-markers --strict-config -c /tmp/tmpdsh0wnsf/pytest.ini
Blender 2.82 (sub 7)
Read prefs: /home/foo/.config/blender/2.82/config/userpref.blend
=================== test session starts ===================
platform linux -- Python 3.8.10, pytest-7.0.1, pluggy-0.13.1 -- /usr/bin/blender
cachedir: .pytest_cache
rootdir: /tmp/tmpyio7hlc2, configfile: pytest.ini
plugins: cov-3.0.0, Faker-12.1.0
collecting ... collected 1 item

tests/test_foo.py::test_foo PASSED

==================== 1 passed in 0.09s ====================

Fixtures

# blender_executable โ‡’ str

Returns the path of the executable that has started the current Blender session.

# blender_version โ‡’ str

Returns the version of Blender running in the current session.

# blender_python_executable โ‡’ str

Returns the path of the Python executable builtin in the Blender release of the currently running session.

# blender_python_version โ‡’ str

Returns the version of the Python executable builtin in the Blender release of the currently running session.

# blender_addons_dir โ‡’ str

Returns the scripts/addons directory of Blender (see Blender Directory Layout), the directory in which by default are located the addons installed using the install_addons_from_dir fixture.

It tries to get it using the BLENDER_USER_SCRIPTS environment variable, but if is not defined attempts to discover it from the PATH.

# install_addons_from_dir(addons_dir, addon_ids=None, save_userpref=True, default_set=True, persistent=True, quiet=True, **kwargs) โ‡’ list

Function that installs and enables a set of addons which are located in a directory. By "addons" Blender understands Python scripts whose file names end with .py, .zip files for compressed packages with multiple modules or directories for Python packages which contain a __init__.py file.

This function is designed to be executed before the pytest session to install the addons that you want to test, using the others fixtures disable_addons or uninstall_addons to disable or remove them after the execution of the test suite:

import pytest

@pytest.fixture(scope="session", autouse=True)
def register_addons(install_addons_from_dir, disable_addons):
    addons_ids = install_addons_from_dir("src")
    yield
    disable_addons(addons_ids)
import pytest

@pytest.fixture(scope="session", autouse=True)
def register_addons(install_addons_from_dir, uninstall_addons):
    addons_ids = install_addons_from_dir("src")
    yield
    uninstall_addons(addons_ids)

The difference between disabling addons and uninstalling them is that disabling removes the files from the Blender's addons directory but disabling keep the files there, allowing you to enable it manually from the preferences.

  • addons_dir (str) Directory in whose root are located the files of the addons.
  • addons_ids (list) Identifiers of the addons modules, packages or ZIP files (without extensions) to install. If not defined (default) all Python modules, Python packages and ZIP files containing addon packages or modules located at the root of the addons_dir directory will be installed. These identifiers are either:
    • The name of the module for addons composed by a single file ([identifier].py).
    • The name of the directory for addons composed by a package.
    • The name of the ZIP file without extension for addons composed by a ZIP file ([identifier].zip).
  • save_userpref (bool) Save user preferences after installation calling bpy.ops.wm.save_userpref
  • default_set (bool) Set the user-preference calling addon_utils.enable.
  • persistent (bool) Ensure that the addon is enabled for the entire session, after loading new files.
  • quiet (bool) If enabled, don't show standard output produced installing addons.
  • **kwargs (dict) Subsecuent keyword arguments are passed to bpy.ops.preferences.addon_install.

Returns the addons identifiers as a list, ready to be passed to disable_addons or uninstall_addons.

# disable_addons(addons_ids, save_userpref=True, default_set=True, quiet=True, **kwargs)

Function that disables a set of addons by addons identifiers. Is designed to disable your addons after a pytest suite execution (check install_addons_from_dir for an example).

  • addons_ids (list) Identifiers of the addons modules as are returned by install_addons_from_dir.
  • save_userpref (bool) Save user preferences after installation.
  • default_set (bool) Set the user-preference calling addon_utils.disable.
  • quiet (bool) If enabled, don't show stdout produced disabling addons.
  • **kwargs (dict) Subsecuent keyword arguments are passed to addon_utils.disable.

# uninstall_addons(addons_ids, quiet=True)

Function that uninstall a set of addons by addon identifiers. Is designed to remove your addons from the Blender's addons directory after a pytest suite execution (check install_addons_from_dir for an example).

  • addons_ids (list) Name of the addons modules as is returned by install_addons_from_dir.
  • quiet (bool) If enabled, don't show stdout produced disabling addons.

Arguments propagation

When you call pytest, all options like --blender-executable are passed to the pytest suite running pytest-blender. If you want to pass arguments to blender in its headless execution, add a -- between pytest and blender arguments. For example:

pytest -svv --blender-executable ~/blender -- --debug

Measuring code coverage

You can use pytest-cov to measure code coverage. If so, instead of using blender-addons-dirs configuration option use pytest's pythonpath option.

Example for pytest.ini:

[pytest]
pythonpath = path/to/blender/addons
addopts = --cov path/to/blender/addons

CI integration

You can use blender-downloader to download multiple versions of Blender in your CI and test against them. There is an example for Github Actions in the CI configuration of this repository, something like:

jobs:
  test:
    name: Test
    runs-on: ${{ matrix.platform }}
    strategy:
      matrix:
        platform:
          - ubuntu-latest
          - macos-latest
        blender-version:
          - '3.1.2'
          - '2.93.9'
          - '2.83.9'
    steps:
      - uses: actions/checkout@v3
      - name: Set up Python v3.9
        uses: actions/setup-python@v3
        with:
          python-version: 3.9
      - name: Upgrade PIP
        run: python -m pip install --upgrade pip
      - name: Cache Blender ${{ matrix.blender-version }}
        uses: actions/cache@v3
        id: cache-blender
        with:
          path: |
            blender-*
            _blender-executable-path.txt
          key: ${{ runner.os }}-${{ matrix.blender-version }}
      - name: Download Blender ${{ matrix.blender-version }}
        if: steps.cache-blender.outputs.cache-hit != 'true'
        id: download-blender
        run: |
          python -m pip install --upgrade blender-downloader
          printf "%s" "$(blender-downloader \
          ${{ matrix.blender-version }} --extract --remove-compressed \
          --quiet --print-blender-executable)" > _blender-executable-path.txt
      - name: Install dependencies
        id: install-dependencies
        run: |
          python -m pip install .[test]
          blender_executable="$(< _blender-executable-path.txt)"
          python_blender_executable="$(pytest-blender --blender-executable $blender_executable)"
          $python_blender_executable -m ensurepip
          $python_blender_executable -m pip install pytest
          echo "blender-executable=$BLENDER_EXECUTABLE" >> $GITHUB_OUTPUT
      - name: Test with pytest
        run: pytest -svv --blender-executable \
          "${{ steps.install-dependencies.outputs.blender-executable }}" tests

Versions compatibility

  • Latest version that officially supports Python3.6 is v1.2.1.

pytest-blender's People

Contributors

andrej730 avatar dependabot[bot] avatar github-actions[bot] avatar mondeja avatar renovate-bot avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pytest-blender's Issues

How do I get code coverage data?

With coverage.py I get these issues with a simple hello world test:

$ coverage run --source=foobar -m pytest
Blender 2.93.0 (hash 84da05a8b806 built 2021-06-02 11:29:24)
Read prefs: /home/dion/.config/blender/2.93/config/userpref.blend
/run/user/1000/gvfs/ non-existent directory
================================================= test session starts =================================================
platform linux -- Python 3.9.2, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
rootdir: /home/dion/Projects/IfcOpenShell/src/blenderbim/blah
collected 1 item                                                                                                      

test_foo.py .                                                                                                   [100%]

================================================== 1 passed in 0.01s ==================================================
Coverage.py warning: Module foobar was never imported. (module-not-imported)
Coverage.py warning: No data was collected. (no-data-collected)

What are the steps required to get code coverage analysis working?

Cannot execute tests from WSL terminal on Windows 10

Hi,
Running
pytest --blender-executable "/mnt/c/Program Files/Blender Foundation/Blender 3.0/blender.exe" tests
returns an error message:

Blender 3.0.1 (hash dc2d18018171 built 2022-01-26 01:46:57)
Read prefs: C:\Users\karli\AppData\Roaming\Blender Foundation\Blender\3.0\config\userpref.blend
OSError: Python file "C:\Users\karli\IdeaProjects\rig\physical-starlight-atmosphere\/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.9/site-packages/pytest_blender/run_pytest.py" could not be opened: No such file or directory

Which I assume is related to the fact that I am not using the default Windows command prompt, but Windows Subsystem for Linux.

I had a similar issue when executing
pytest-blender --blender-executable "/mnt/c/Program Files/Blender Foundation/Blender 3.0/blender.exe") which returned
C:\Program Files\Blender Foundation\Blender 3.0\3.0\python\bin\python.EXE
which then I convert to
/mnt/c/Program Files/Blender Foundation/Blender 3.0/3.0/python/bin/python.exe
so I can use it in WSL.

Cannot import pytest module on Windows 10

Hi,
On Windows cmd prompt after running
pytest --blender-executable "c:\Program Files\Blender Foundation\Blender 3.0\blender.exe" tests
I got an error saying

Blender 3.0.1 (hash dc2d18018171 built 2022-01-26 01:46:57)
Read prefs: C:\Users\karli\AppData\Roaming\Blender Foundation\Blender\3.0\config\userpref.blend
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "c:\users\karli\appdata\local\programs\python\python38\lib\site-packages\pytest_blender\run_pytest.py", line 14, in <module>
    import pytest
ModuleNotFoundError: No module named 'pytest'

Blender quit
Expand full command execution sequence ๐Ÿ‘‡
  1. pytest-blender --blender-executable "c:\Program Files\Blender Foundation\Blender 3.0\blender.exe"

c:\Program Files\Blender Foundation\Blender 3.0\3.0\python\bin\python.EXE

  1. "c:\Program Files\Blender Foundation\Blender 3.0\3.0\python\bin\python.EXE" -m ensurepip

Defaulting to user installation because normal site-packages is not writeable
Looking in links: c:\Users\karli\AppData\Local\Temp\tmprzsxnl8b
Requirement already satisfied: setuptools in c:\program files\blender foundation\blender 3.0\3.0\python\lib\site-packages (57.4.0)
Requirement already satisfied: pip in c:\program files\blender foundation\blender 3.0\3.0\python\lib\site-packages (21.2.3)

  1. "c:\Program Files\Blender Foundation\Blender 3.0\3.0\python\bin\python.EXE" -m pip install -r test-requirements.txt

Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pytest in c:\users\karli\appdata\roaming\python\python39\site-packages (from -r test-requirements.txt (line 1)) (7.1.2)
Requirement already satisfied: pytest-image-diff==0.0.9 in c:\users\karli\appdata\roaming\python\python39\site-packages (from -r test-requirements.txt (line 2)) (0.0.9)
Requirement already satisfied: diffimg in c:\users\karli\appdata\roaming\python\python39\site-packages (from pytest-image-diff==0.0.9->-r test-requirements.txt (line 2)) (0.3.0)
Requirement already satisfied: typing-extensions in c:\users\karli\appdata\roaming\python\python39\site-packages (from pytest-image-diff==0.0.9->-r test-requirements.txt (line 2)) (4.2.0)
Requirement already satisfied: imgdiff in c:\users\karli\appdata\roaming\python\python39\site-packages (from pytest-image-diff==0.0.9->-r test-requirements.txt (line 2)) (1.7.1)
Requirement already satisfied: pluggy<2.0,>=0.12 in c:\users\karli\appdata\roaming\python\python39\site-packages (from pytest->-r test-requirements.txt (line 1)) (1.0.0)
Requirement already satisfied: py>=1.8.2 in c:\users\karli\appdata\roaming\python\python39\site-packages (from pytest->-r test-requirements.txt (line 1)) (1.11.0)
Requirement already satisfied: attrs>=19.2.0 in c:\users\karli\appdata\roaming\python\python39\site-packages (from pytest->-r test-requirements.txt (line 1)) (21.4.0)
Requirement already satisfied: tomli>=1.0.0 in c:\users\karli\appdata\roaming\python\python39\site-packages (from pytest->-r test-requirements.txt (line 1)) (2.0.1)
Requirement already satisfied: iniconfig in c:\users\karli\appdata\roaming\python\python39\site-packages (from pytest->-r test-requirements.txt (line 1)) (1.1.1)
Requirement already satisfied: colorama in c:\program files\blender foundation\blender 3.0\3.0\python\lib\site-packages (from pytest->-r test-requirements.txt (line 1)) (0.4.4)
Requirement already satisfied: packaging in c:\users\karli\appdata\roaming\python\python39\site-packages (from pytest->-r test-requirements.txt (line 1)) (21.3)
Requirement already satisfied: atomicwrites>=1.0 in c:\users\karli\appdata\roaming\python\python39\site-packages (from pytest->-r test-requirements.txt (line 1)) (1.4.0)
Requirement already satisfied: Pillow>=4.3 in c:\users\karli\appdata\roaming\python\python39\site-packages (from diffimg->pytest-image-diff==0.0.9->-r test-requirements.txt (line 2)) (9.1.1)
Requirement already satisfied: pyparsing!=3.0.5,>=2.0.2 in c:\users\karli\appdata\roaming\python\python39\site-packages (from packaging->pytest->-r test-requirements.txt (line 1)) (3.0.9)
WARNING: You are using pip version 21.2.3; however, version 22.1.2 is available.
You should consider upgrading via the 'c:\Program Files\Blender Foundation\Blender 3.0\3.0\python\bin\python.exe -m pip install --upgrade pip' command.

I was wondering if it is related to the phrase:

Defaulting to user installation because normal site-packages is not writeable

Cannot register an addon that is bigger than single file

I did play a bit, but couldn't figure out a way to install an addon which consists of more than one file e.g.

__init__.py
other.py
blends/
  blendfile.py

If .zip provided no addon is found with error message:
ERROR tests/test_addon_enabling.py::test_basic_addon - ValueError: Any addons found in <path here>
If extracted each python file is interpreted as an addon (?)
image

Thought that an opening issue could bring me some clarity.
P.S. thank you for the wonderful work developing this utility!

When fetching blender version on Windows gets error msg

This is the error message I am getting

  File "/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.9/site-packages/pytest_blender/run_pytest.py", line 86, in get_blender_version
    return version_stdout.decode("utf-8").splitlines()[0].split(" ")[1]
IndexError: list index out of range

I understood from get_blender_version function then version gets retrieved by executing executable + --version in CLI which doesn't work on the Windows OS.

pytest-cov won't work with blender-addons-dirs

Hi, I installed Blender 3.0.1 on Windows 10 with blender-downloader.
And used blender-addons-dirs option in setup.cfg.
Then, pytest-cov will report all def and class lines as missing lines.

If I remove the option from setup.cfg and add the addon path to script path in user preferences, pytest-cov will work perfectly.

So, I need to run this script before running pytest for Github Actions.

bpy.context.preferences.filepaths.script_directory = os.getcwd()
bpy.ops.wm.save_userpref()

I uploaded resource files to my addon repo as dev branch.
The testing workflow is test.yml.
If I remove the line 77 from test.yml and add blender-addons-dirs = addons to setup.cfg, pytest-cov will report the wrong coverage.

Expose addon zippification function defined in *conftest.py*?

If I'm developing an addon I don't want to write a custom function to convert into ZIP every time that I want to test it. Maybe allow to pass a directory to install_addons_from_dir converting it to zip before installing? This would be great!

Dependency Dashboard

This issue provides visibility into Renovate updates and their statuses. Learn more

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • Update dependency isort to v5.9.3
  • Update dependency yamllint to v1.26.3
  • Update peter-evans/create-pull-request action to v3.10.1
  • Update pre-commit hook PyCQA/isort to v5.9.3
  • Update pre-commit hook adrienverge/yamllint to v1.26.3
  • Update pre-commit hook editorconfig-checker/editorconfig-checker.python to v2.3.54
  • Update shogo82148/actions-upload-release-asset action to v1.3.1
  • Update dependency pre-commit to v2.14.1
  • Update pre-commit hook asottile/pyupgrade to v2.25.0
  • Update pre-commit hook mondeja/repo-stream to v1.3.0

  • Check this box to trigger a request for Renovate to run again on this repository

'_bpy.ops' has no attribute 'render'

I am trying to make a render, change some parameters and do another. Doing it via CLI - creating two blend files and then executing them seems like a bit too much ๐Ÿคท . Is there a way to execute the render operator under _bpy.context?

filename = 'stars_before.jpg'

    def _render_image(filename):
        _bpy.context.scene.render.image_settings.file_format='JPEG'
        _bpy.context.scene.render.filepath =  os.path.join(images_dir, filename)
>       _bpy.ops.render.render(use_viewport = True)
E       AttributeError: module '_bpy.ops' has no attribute 'render'

tests/unit-tests/test_stars_texture.py:31: AttributeError

Could you explain where _bpy come from and what information is accessible and when? Another day I noticed when writing a test and trying to access an operator that I could access through Blender console, I couldn't access it through _bpy.ops which was quite confusing.

Crash while enabling addon exiting with 0 code

See it here

$ python3 -m pytest
Blender 3.1.0 (hash c77597cd0e15 built 2022-03-09 00:34:48)
Read prefs: /home/mondeja/.config/blender/3.1/config/userpref.blend
addon_utils.disable: simple_icons_blender not disabled
Mรณdulos instalados (simple_icons_blender) desde '/home/mondeja/files/code/all-repos/repos/mondeja/simple-icons-blender/simple_icons_blender.py' en '/home/mondeja/.config/blender/3.1/scripts/addons'
Info: Mรณdulos instalados (simple_icons_blender) desde '/home/mondeja/files/code/all-repos/repos/mondeja/simple-icons-blender/simple_icons_blender.py' en '/home/mondeja/.config/blender/3.1/scripts/addons'
Info: Mรณdulos instalados (simple_icons_blender) desde '/home/mondeja/files/code/all-repos/repos/mondeja/simple-icons-blender/simple_icons_blender.py' en '/home/mondeja/.config/blender/3.1/scripts/addons'
fake_module: addon missing 'bl_info' gives bad performance!: '/home/mondeja/.config/blender/3.1/scripts/addons/helpers.py'
Mรณdulos instalados () desde '/home/mondeja/files/code/all-repos/repos/mondeja/simple-icons-blender/helpers.py' en '/home/mondeja/.config/blender/3.1/scripts/addons'
Info: Mรณdulos instalados () desde '/home/mondeja/files/code/all-repos/repos/mondeja/simple-icons-blender/helpers.py' en '/home/mondeja/.config/blender/3.1/scripts/addons'
Info: Mรณdulos instalados () desde '/home/mondeja/files/code/all-repos/repos/mondeja/simple-icons-blender/helpers.py' en '/home/mondeja/.config/blender/3.1/scripts/addons'
Traceback (most recent call last):
  File "/home/mondeja/files/code/all-repos/repos/mondeja/pytest-blender/pytest_blender/run_pytest.py", line 418, in <module>
    raise SystemExit(main())
  File "/home/mondeja/files/code/all-repos/repos/mondeja/pytest-blender/pytest_blender/run_pytest.py", line 401, in main
    addons_ids.extend(_install_addons_from_dir(addons_dir, quiet=True))
  File "/home/mondeja/files/code/all-repos/repos/mondeja/pytest-blender/pytest_blender/run_pytest.py", line 200, in _install_addons_from_dir
    return _wrapper()
  File "/home/mondeja/files/code/all-repos/repos/mondeja/pytest-blender/pytest_blender/run_pytest.py", line 190, in _wrapper
    addon_utils.enable(
  File "/home/mondeja/files/code/all-repos/repos/mondeja/simple-icons-blender/blender-3.1.0-linux-x64/3.1/scripts/modules/addon_utils.py", line 373, in enable
    if mod.bl_info.get("blender", (0, 0, 0)) < (2, 80, 0):
AttributeError: module 'helpers' has no attribute 'bl_info'

Blender quit
$ echo $?
0

blender_python interpreter location returned None on Windows 10

Hi again ๐Ÿ‘‹,
When I run a command:
pytest-blender --blender-executable "/mnt/c/Program Files/Blender Foundation/Blender 3.0/blender.exe"
It returns None. Any idea why?

Didn't want to follow up with a different question on the same issue so created a new one.

Windows 11, Blender 4.0 - Windows fatal exception: access violation

Not sure what causes it but occasionally (not every time but always when run many tests) I get this kind of errors running pytests on Blender 4.0 / Windows 11. Didn't have that issue on Blender 3.6 (just tested).

Command I use to run it: pytest os_test_errors.py --capture=no. Default blender setup, no addons. Tried to run the command with admin rights.

Tried to run them with pytest os_test_errors.py --capture=no -p no:pytest-blender and it never results in errors, so I guess it's related to pytest-blender.

os.test_errors.py:
os_test_errors.py.txt

class Test_OSTestErrors():
    def test_1(self):
        pass

    def test_2(self):
        pass

    def test_3(self):
        pass

    def test_4(self):
        pass

    def test_5(self):
        pass

    def test_5(self):
        pass

    def test_6(self):
        pass

Error traceback (I've added prints before the os.__delitem__ and os.__setitem__ to get more info for debugging).

Blender 4.0.0 Beta (hash e9ad267151c9 built 2023-10-30 00:40:30)
---> setitem "PXR_USD_WINDOWS_DLL_PATH" "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\blender.shared"
---> setitem "OIIO_LOAD_DLLS_FROM_PATH" "0"
---> setitem "MATERIALX_SEARCH_PATH" "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\blender.shared\materialx\libraries"
---> setitem "PXR_MTLX_STDLIB_SEARCH_PATHS" "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\blender.shared\materialx\libraries"
Error opening file: C:\Users\Andrej\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\stair_generate.py [Errno 2] No such file or directory: 'C:\\Users\\Andrej\\AppData\\Roaming\\Blender Foundation\\Blender\\4.0\\scripts\\addons\\stair_generate.py'
Error opening file: C:\Users\Andrej\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\twelvesky2_sobject.py [Errno 2] No such file or directory: 'C:\\Users\\Andrej\\AppData\\Roaming\\Blender Foundation\\Blender\\4.0\\scripts\\addons\\twelvesky2_sobject.py'
========================================================================== test session starts ==========================================================================
platform win32 -- Python 3.10.13, pytest-7.4.3, pluggy-1.3.0
rootdir: C:\Projects\GitHub\IfcOpenShell\src\blenderbim
configfile: pytest.ini
plugins: bdd-7.0.0
collected 6 items

os_test_errors.py ---> setitem "PYTEST_CURRENT_TEST" "os_test_errors.py::Test_OSTestErrors::test_1 (setup)"
---> setitem "PYTEST_CURRENT_TEST" "os_test_errors.py::Test_OSTestErrors::test_1 (call)"
Windows fatal exception: access violation

Current thread 0x00007810 (most recent call first):
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\os.py", line 687 in __setitem__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 198 in _update_current_test_var
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 161 in pytest_runtest_call
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 262 in <lambda>
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 341 in from_call
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 261 in call_runtest_hook
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 222 in call_and_report
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 133 in runtestprotocol
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 114 in pytest_runtest_protocol
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 350 in pytest_runtestloop
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 325 in _main
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 271 in wrap_session
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 318 in pytest_cmdline_main
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\config\__init__.py", line 169 in main
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 427 in <lambda>
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 430 in main
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 451 in <module>
  File "<string>", line 1 in <module>
.---> setitem "PYTEST_CURRENT_TEST" "os_test_errors.py::Test_OSTestErrors::test_1 (teardown)"
----------> delitem get os_test_errors.py::Test_OSTestErrors::test_1 (teardown)
----------> delitem PYTEST_CURRENT_TEST
---> setitem "PYTEST_CURRENT_TEST" "os_test_errors.py::Test_OSTestErrors::test_2 (setup)"
---> setitem "PYTEST_CURRENT_TEST" "os_test_errors.py::Test_OSTestErrors::test_2 (call)"
Windows fatal exception: access violation

Current thread 0x00007810 (most recent call first):
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\os.py", line 687 in __setitem__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 198 in _update_current_test_var
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 161 in pytest_runtest_call
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 262 in <lambda>
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 341 in from_call
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 261 in call_runtest_hook
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 222 in call_and_report
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 133 in runtestprotocol
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 114 in pytest_runtest_protocol
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 350 in pytest_runtestloop
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 325 in _main
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 271 in wrap_session
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 318 in pytest_cmdline_main
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\config\__init__.py", line 169 in main
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 427 in <lambda>
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 430 in main
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 451 in <module>
  File "<string>", line 1 in <module>
.---> setitem "PYTEST_CURRENT_TEST" "os_test_errors.py::Test_OSTestErrors::test_2 (teardown)"
----------> delitem get os_test_errors.py::Test_OSTestErrors::test_2 (teardown)
----------> delitem PYTEST_CURRENT_TEST
Windows fatal exception: access violation

Current thread 0x00007810 (most recent call first):
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\os.py", line 694 in __delitem__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\_collections_abc.py", line 968 in pop
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 200 in _update_current_test_var
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 183 in pytest_runtest_teardown
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 262 in <lambda>
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 341 in from_call
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 261 in call_runtest_hook
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 222 in call_and_report
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 134 in runtestprotocol
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 114 in pytest_runtest_protocol
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 350 in pytest_runtestloop
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 325 in _main
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 271 in wrap_session
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 318 in pytest_cmdline_main
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\config\__init__.py", line 169 in main
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 427 in <lambda>
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 430 in main
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 451 in <module>
  File "<string>", line 1 in <module>
---> setitem "PYTEST_CURRENT_TEST" "os_test_errors.py::Test_OSTestErrors::test_3 (setup)"
---> setitem "PYTEST_CURRENT_TEST" "os_test_errors.py::Test_OSTestErrors::test_3 (call)"
Windows fatal exception: access violation

Current thread 0x00007810 (most recent call first):
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\os.py", line 687 in __setitem__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 198 in _update_current_test_var
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 161 in pytest_runtest_call
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 262 in <lambda>
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 341 in from_call
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 261 in call_runtest_hook
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 222 in call_and_report
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 133 in runtestprotocol
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 114 in pytest_runtest_protocol
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 350 in pytest_runtestloop
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 325 in _main
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 271 in wrap_session
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 318 in pytest_cmdline_main
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\config\__init__.py", line 169 in main
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 427 in <lambda>
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 430 in main
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 451 in <module>
  File "<string>", line 1 in <module>
.---> setitem "PYTEST_CURRENT_TEST" "os_test_errors.py::Test_OSTestErrors::test_3 (teardown)"
----------> delitem get os_test_errors.py::Test_OSTestErrors::test_3 (teardown)
----------> delitem PYTEST_CURRENT_TEST
Windows fatal exception: access violation

Current thread 0x00007810 (most recent call first):
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\os.py", line 694 in __delitem__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\_collections_abc.py", line 968 in pop
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 200 in _update_current_test_var
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 183 in pytest_runtest_teardown
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 262 in <lambda>
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 341 in from_call
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 261 in call_runtest_hook
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 222 in call_and_report
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 134 in runtestprotocol
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 114 in pytest_runtest_protocol
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 350 in pytest_runtestloop
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 325 in _main
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 271 in wrap_session
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 318 in pytest_cmdline_main
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\config\__init__.py", line 169 in main
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 427 in <lambda>
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 430 in main
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 451 in <module>
  File "<string>", line 1 in <module>
---> setitem "PYTEST_CURRENT_TEST" "os_test_errors.py::Test_OSTestErrors::test_4 (setup)"
---> setitem "PYTEST_CURRENT_TEST" "os_test_errors.py::Test_OSTestErrors::test_4 (call)"
Windows fatal exception: access violation

Current thread 0x00007810 (most recent call first):
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\os.py", line 687 in __setitem__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 198 in _update_current_test_var
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 161 in pytest_runtest_call
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 262 in <lambda>
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 341 in from_call
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 261 in call_runtest_hook
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 222 in call_and_report
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 133 in runtestprotocol
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 114 in pytest_runtest_protocol
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 350 in pytest_runtestloop
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 325 in _main
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 271 in wrap_session
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 318 in pytest_cmdline_main
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\config\__init__.py", line 169 in main
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 427 in <lambda>
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 430 in main
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 451 in <module>
  File "<string>", line 1 in <module>
.---> setitem "PYTEST_CURRENT_TEST" "os_test_errors.py::Test_OSTestErrors::test_4 (teardown)"
----------> delitem get os_test_errors.py::Test_OSTestErrors::test_4 (teardown)
----------> delitem PYTEST_CURRENT_TEST
Windows fatal exception: access violation

Current thread 0x00007810 (most recent call first):
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\os.py", line 694 in __delitem__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\_collections_abc.py", line 968 in pop
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 200 in _update_current_test_var
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 183 in pytest_runtest_teardown
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 262 in <lambda>
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 341 in from_call
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 261 in call_runtest_hook
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 222 in call_and_report
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 134 in runtestprotocol
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 114 in pytest_runtest_protocol
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 350 in pytest_runtestloop
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 325 in _main
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 271 in wrap_session
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 318 in pytest_cmdline_main
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\config\__init__.py", line 169 in main
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 427 in <lambda>
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 430 in main
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 451 in <module>
  File "<string>", line 1 in <module>
---> setitem "PYTEST_CURRENT_TEST" "os_test_errors.py::Test_OSTestErrors::test_5 (setup)"
---> setitem "PYTEST_CURRENT_TEST" "os_test_errors.py::Test_OSTestErrors::test_5 (call)"
Windows fatal exception: access violation

Current thread 0x00007810 (most recent call first):
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\os.py", line 687 in __setitem__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 198 in _update_current_test_var
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 161 in pytest_runtest_call
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 262 in <lambda>
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 341 in from_call
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 261 in call_runtest_hook
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 222 in call_and_report
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 133 in runtestprotocol
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 114 in pytest_runtest_protocol
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 350 in pytest_runtestloop
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 325 in _main
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 271 in wrap_session
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 318 in pytest_cmdline_main
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\config\__init__.py", line 169 in main
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 427 in <lambda>
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 430 in main
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 451 in <module>
  File "<string>", line 1 in <module>
.---> setitem "PYTEST_CURRENT_TEST" "os_test_errors.py::Test_OSTestErrors::test_5 (teardown)"
----------> delitem get os_test_errors.py::Test_OSTestErrors::test_5 (teardown)
----------> delitem PYTEST_CURRENT_TEST
---> setitem "PYTEST_CURRENT_TEST" "os_test_errors.py::Test_OSTestErrors::test_6 (setup)"
---> setitem "PYTEST_CURRENT_TEST" "os_test_errors.py::Test_OSTestErrors::test_6 (call)"
Windows fatal exception: access violation

Current thread 0x00007810 (most recent call first):
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\os.py", line 687 in __setitem__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 198 in _update_current_test_var
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 161 in pytest_runtest_call
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 262 in <lambda>
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 341 in from_call
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 261 in call_runtest_hook
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 222 in call_and_report
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 133 in runtestprotocol
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 114 in pytest_runtest_protocol
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 350 in pytest_runtestloop
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 325 in _main
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 271 in wrap_session
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 318 in pytest_cmdline_main
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\config\__init__.py", line 169 in main
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 427 in <lambda>
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 430 in main
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 451 in <module>
  File "<string>", line 1 in <module>
.---> setitem "PYTEST_CURRENT_TEST" "os_test_errors.py::Test_OSTestErrors::test_6 (teardown)"
----------> delitem get os_test_errors.py::Test_OSTestErrors::test_6 (teardown)
----------> delitem PYTEST_CURRENT_TEST
Windows fatal exception: access violation

Current thread 0x00007810 (most recent call first):
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\os.py", line 694 in __delitem__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\_collections_abc.py", line 968 in pop
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 200 in _update_current_test_var
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 183 in pytest_runtest_teardown
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 262 in <lambda>
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 341 in from_call
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 261 in call_runtest_hook
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 222 in call_and_report
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 134 in runtestprotocol
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\runner.py", line 114 in pytest_runtest_protocol
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 350 in pytest_runtestloop
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 325 in _main
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 271 in wrap_session
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\main.py", line 318 in pytest_cmdline_main
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_callers.py", line 77 in _multicall
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_manager.py", line 115 in _hookexec
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\pluggy\_hooks.py", line 493 in __call__
  File "\Blender_Launcher\daily\blender-4.0.0-beta+v40.e9ad267151c9-windows.amd64-release\4.0\python\lib\site-packages\_pytest\config\__init__.py", line 169 in main
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 427 in <lambda>
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 430 in main
  File "\Python311\Lib\site-packages\pytest_blender\run_pytest.py", line 451 in <module>
  File "<string>", line 1 in <module>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.