8000 Fix patch (no env var expansion) · MacPython/matplotlib-wheels@9b6ae99 · 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 9b6ae99

Browse files
committed
Fix patch (no env var expansion)
1 parent 304befc commit 9b6ae99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

patches/test_backends.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--- tests/test_backends_interactive.py.old 2017-05-30 09:29:32.000000000 +0100
2-
+++ tests/test_backends_interactive.py 2017-05-31 12:07:50.000000000 +0100
2+
+++ tests/test_backends_interactive.py 2017-05-31 12:38:31.000000000 +0100
33
@@ -21,10 +21,12 @@
44

55
def _get_available_backends():
@@ -12,7 +12,7 @@
1212
+ not os.environ.get("DISPLAY")
1313
+ or sys.version_info < (3,)
1414
+ or importlib.util.find_spec(module_name) is None,
15-
+ reason="No /tmp/launch-jw0bwI/org.macosforge.xquartz:0, or could not import {!r}".format(module_name))(
15+
+ reason="No $DISPLAY, or could not import {!r}".format(module_name))(
1616
+ backend)
1717
for module_name, backend in [
1818
("PyQt5", "qt5agg"),

0 commit comments

Comments
 (0)
0