Description: Drop flush_test (needs a working gnuplot pngcairo in the testbed)
Author: Simon Quigley <tsimonq2@debian.org>
Origin: vendor
Forwarded: not-needed
Last-Update: 2026-08-17
---
--- a/src/figure.rs
+++ b/src/figure.rs
@@ -743,18 +743,3 @@ impl Drop for Figure
 	}
 }
 
-#[test]
-fn flush_test()
-{
-	use std::fs;
-	use tempfile::TempDir;
-
-	let tmp_path = TempDir::new().unwrap().into_path();
-	let filename = tmp_path.join("plot.png");
-	let mut fg = Figure::new();
-	fg.axes2d().boxes(0..5, 0..5, &[]);
-	fg.set_terminal("pngcairo", &*filename.to_string_lossy());
-	fg.show();
-	fs::read(filename).unwrap();
-	fs::remove_dir_all(&tmp_path);
-}
