@@ -709,14 +709,6 @@ fn test_plot_default_size_without_metadata() {
709709fn test_dev_hold_suppresses_intermediate_plots ( ) {
710710 let frontend = DummyArkFrontend :: lock ( ) ;
711711
712- // Activate the graphics device
713- frontend. send_execute_request ( "plot(1:10)" , ExecuteRequestOptions :: default ( ) ) ;
714- frontend. recv_iopub_busy ( ) ;
715- frontend. recv_iopub_execute_input ( ) ;
716- frontend. recv_iopub_display_data ( ) ;
717- frontend. recv_iopub_idle ( ) ;
718- frontend. recv_shell_execute_reply ( ) ;
719-
720712 // Hold, draw two intermediate plots, then flush.
721713 // Only the final plot should produce output.
722714 let code = r#"
@@ -741,14 +733,6 @@ invisible(dev.flush())
741733fn test_dev_hold_across_execute_requests ( ) {
742734 let frontend = DummyArkFrontend :: lock ( ) ;
743735
744- // Activate the graphics device
745- frontend. send_execute_request ( "plot(1:10)" , ExecuteRequestOptions :: default ( ) ) ;
746- frontend. recv_iopub_busy ( ) ;
747- frontend. recv_iopub_execute_input ( ) ;
748- frontend. recv_iopub_display_data ( ) ;
749- frontend. recv_iopub_idle ( ) ;
750- frontend. recv_shell_execute_reply ( ) ;
751-
752736 // Hold and plot without flushing. No display_data should appear.
753737 frontend. send_execute_request (
754738 "invisible(dev.hold())\n plot(1:5)" ,
0 commit comments