Debian Codegraph @

tests/unit/shapes/conftest.py

raw symbols SCIP
1 from pytest import fixture
2
3
4 @fixture(autouse=True)
5 def monkeypatch_default_shape_shader(monkeypatch, get_dummy_shader_program):
6 """Use a dummy shader when testing non-drawing functionality"""
7 monkeypatch.setattr('pyglet.shapes.get_default_shader', get_dummy_shader_program)