mirror of
https://github.com/datalab-to/chandra.git
synced 2025-12-01 01:23:09 +00:00
Initial benchmarks
This commit is contained in:
10
tests/conftest.py
Normal file
10
tests/conftest.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import pytest
|
||||
from PIL import Image, ImageDraw
|
||||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def simple_text_image() -> Image.Image:
|
||||
image = Image.new("RGB", (800, 600), "white")
|
||||
draw = ImageDraw.Draw(image)
|
||||
draw.text((50, 50), "Hello, World!", fill="black", font_size=32)
|
||||
return image
|
||||
Reference in New Issue
Block a user