From 2969de609d075a2d3c176688e947b09d54a9d2aa Mon Sep 17 00:00:00 2001 From: Jonathan Frederic Date: Wed, 3 Dec 2014 08:37:17 -0800 Subject: [PATCH] Selection test fix --- IPython/html/tests/widgets/widget_selection.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/IPython/html/tests/widgets/widget_selection.js b/IPython/html/tests/widgets/widget_selection.js index ea87a3830..68d2c6a1e 100644 --- a/IPython/html/tests/widgets/widget_selection.js +++ b/IPython/html/tests/widgets/widget_selection.js @@ -134,9 +134,10 @@ casper.notebook_test(function () { this.wait_for_idle(); index = this.append_cell( + 'from copy import copy\n' + 'for widget in selection:\n' + - ' d = widget.values.copy()\n' + - ' d["z"] = "z"\n' + + ' d = copy(widget.values)\n' + + ' d.append("z")\n' + ' widget.values = d\n' + 'selection[0].value = "z"'); this.execute_cell_then(index, function(index){