We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b8f32f commit 8c3ab84Copy full SHA for 8c3ab84
1 file changed
plotpy/tests/unit/test_point_tools.py
@@ -233,6 +233,11 @@ def test_edit_point_tool():
233
new_x, new_y = curve_item.get_data()
234
assert len(new_x) == len(orig_x) + 1 and len(new_y) == len(orig_y) + 1
235
236
+ tool.reset_arrays()
237
+ assert tool.get_changes() == {}
238
+ x_arr, y_arr = curve_item.get_data()
239
+ assert np.in1d(x_arr, orig_x).all() and np.in1d(y_arr, orig_y).all()
240
+
241
exec_dialog(win)
242
243
0 commit comments