mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
fix js test print statement on python 3
This commit is contained in:
parent
a54e50514d
commit
35fcbbd96f
@ -5,9 +5,9 @@
|
|||||||
casper.notebook_test(function () {
|
casper.notebook_test(function () {
|
||||||
var jsver = this.evaluate(function () {
|
var jsver = this.evaluate(function () {
|
||||||
var cell = IPython.notebook.get_cell(0);
|
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();
|
cell.execute();
|
||||||
return IPython.version
|
return IPython.version;
|
||||||
});
|
});
|
||||||
|
|
||||||
this.wait_for_output(0);
|
this.wait_for_output(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user