10000 Try Anthony Lee's debug print · MacPython/matplotlib-wheels@dca158a · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.

Commit dca158a

Browse files
committed
Try Anthony Lee's debug print
1 parent ee2c3be commit dca158a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patches/test_backends.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66

77
-@pytest.mark.skipif("DISPLAY" not in os.environ,
8-
+@pytest.mark.skipif(not os.environ.get('DISPLAY'),
8+
+@pytest.mark.skipif(print("===", repr(os.environ.get("DISPLAY")), "===") or not os.environ.get("DISPLAY"),
99
reason="The DISPLAY environment variable is not set.")
1010
@pytest.mark.parametrize("backend", _get_available_backends())
1111
def test_backend(backend):

0 commit comments

Comments
 (0)
0