about summary refs log tree commit diff
path: root/pkgs/applications/video/manim/pytest-report-header.patch
blob: 953ede5dde94d2b0d21306e05ae717b081fa5d42 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/conftest.py b/conftest.py
index da37e19b..d9f850d8 100644
--- a/conftest.py
+++ b/conftest.py
@@ -32,16 +32,3 @@ def temp_media_dir(tmpdir, monkeypatch, request):
         with tempconfig({"media_dir": str(tmpdir)}):
             assert config.media_dir == str(tmpdir)
             yield tmpdir
-
-
-def pytest_report_header(config):
-    ctx = moderngl.create_standalone_context()
-    info = ctx.info
-    ctx.release()
-    return (
-        "\nOpenGL information",
-        "------------------",
-        f"vendor: {info['GL_VENDOR'].strip()}",
-        f"renderer: {info['GL_RENDERER'].strip()}",
-        f"version: {info['GL_VERSION'].strip()}\n",
-    )