From 35fcbbd96f38f1520ad9496a79170fc41ae65b6e Mon Sep 17 00:00:00 2001 From: MinRK Date: Thu, 7 Nov 2013 16:26:04 -0800 Subject: [PATCH] fix js test print statement on python 3 --- IPython/html/tests/casperjs/test_cases/misc_tests.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IPython/html/tests/casperjs/test_cases/misc_tests.js b/IPython/html/tests/casperjs/test_cases/misc_tests.js index e5c34845e..39e513e87 100644 --- a/IPython/html/tests/casperjs/test_cases/misc_tests.js +++ b/IPython/html/tests/casperjs/test_cases/misc_tests.js @@ -5,9 +5,9 @@ casper.notebook_test(function () { var jsver = this.evaluate(function () { var cell = IPython.notebook.get_cell(0); - cell.set_text('import IPython; print IPython.__version__'); + cell.set_text('import IPython; print(IPython.__version__)'); cell.execute(); - return IPython.version + return IPython.version; }); this.wait_for_output(0);