forked from pool/python-nbval
Benjamin Greiner
a1f2757b89
- Remove python36 skiptest code - Add nbval-sanitize-figure-size.patch * gh#computationalmodelling/nbval#183 - Multibuild test flavor: avoid (possible) build cycle OBS-URL: https://build.opensuse.org/request/show/998388 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-nbval?expand=0&rev=20
16 lines
520 B
Diff
16 lines
520 B
Diff
Index: nbval-0.9.6/tests/sanitize_defaults.cfg
|
|
===================================================================
|
|
--- nbval-0.9.6.orig/tests/sanitize_defaults.cfg
|
|
+++ nbval-0.9.6/tests/sanitize_defaults.cfg
|
|
@@ -13,4 +13,8 @@ replace: TIMESTAMP
|
|
|
|
[Memory addresses]
|
|
regex: (<[a-zA-Z_][0-9a-zA-Z_.]* at )(0x[0-9a-fA-F]+)(>)
|
|
-replace: \1MEMORY_ADDRESS\3
|
|
\ No newline at end of file
|
|
+replace: \1MEMORY_ADDRESS\3
|
|
+
|
|
+[Matplotlib figure size]
|
|
+regex: (Figure size )\d+x\d+( with \d+ Axes)
|
|
+replace: \1WIDTHxHEIGHT\2
|