simplecharts

SVG charts without dependencies
git clone https://git.ce9e.org/simplecharts.git

commit
57b92b2352f817173a82422a1791e7267aee5f07
parent
661522a27347be0f1adb8f6b739b35dea423e355
Author
Tobias Bengfort <bengfort@mpib-berlin.mpg.de>
Date
2025-04-24 16:50
test: avoid redundant render call

Diffstat

M test.py 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/test.py b/test.py

@@ -26,7 +26,7 @@ def run_test(key, renderer):
   26    26     if os.path.exists(path):
   27    27         with open(path) as fh:
   28    28             expected = fh.read()
   29    -1         if renderer.render(data) != expected:
   -1    29         if actual != expected:
   30    30             render_error(actual, expected, svg)
   31    31     else:
   32    32         with open(path, 'w') as fh: