From f8d2af163290cbbc485aa28298560e790714996f Mon Sep 17 00:00:00 2001 From: Pierre Gerold Date: Sat, 6 Feb 2016 18:27:54 +0100 Subject: [PATCH] draft for nested svg test, not working --- notebook/tests/notebook/output.js | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/notebook/tests/notebook/output.js b/notebook/tests/notebook/output.js index b442a044f..db6f276d7 100644 --- a/notebook/tests/notebook/output.js +++ b/notebook/tests/notebook/output.js @@ -95,4 +95,32 @@ casper.notebook_test(function () { text: "3\n" }] ); + this.test_coalesced_output("test nested svg", [ + 'from IPython.display import SVG', + 'nested_svg="""', + '', + ' ', + ' ', + ' ', + ' ', + ' ', + ' ', + '"""', + 'SVG(nested_svg)' + ].join("\n"), [{ + output_type: "execute_result", + data: { + "text/plain" : "", + "image/svg+xml": [ + '', + ' ', + ' ', + ' ', + ' ', + ' ', + ' ', + ''].join("\n") + }, + }] + ); });