Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
import os
from pathlib import Path

import arcade
if os.environ.get("ARCADE_PYTEST_USE_RUST"):
import arcade_accelerate
arcade_accelerate.bootstrap()

import pytest

import arcade

PROJECT_ROOT = (Path(__file__).parent.parent).resolve()
FIXTURE_ROOT = PROJECT_ROOT / "tests" / "fixtures"
WINDOW = None
Expand Down Expand Up @@ -95,4 +101,4 @@ def path(self, path):

@pytest.fixture(scope="session")
def fixtures():
return Fixtures()
return Fixtures()