Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions plotly_kaleido/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,11 @@ impl Kaleido {
.current_dir(self.cmd_path.parent().unwrap())
.args([
"plotly",
"--disable-gpu",
"--allow-file-access-from-files",
"--disable-breakpad",
"--disable-dev-shm-usage",
"--disable-software-rasterizer",
"--single-process",
"--disable-gpu",
"--no-sandbox",
])
.stdin(Stdio::piped())
Expand Down Expand Up @@ -307,8 +305,6 @@ mod tests {
assert_eq!(to_value(kaleido_data).unwrap(), expected);
}

// This seems to fail unpredictably on MacOs.
#[cfg(not(target_os = "macos"))]
#[test]
fn save_png() {
let test_plot = create_test_plot();
Expand All @@ -319,8 +315,6 @@ mod tests {
assert!(std::fs::remove_file(dst.as_path()).is_ok());
}

// This seems to fail unpredictably on MacOs.
#[cfg(not(target_os = "macos"))]
#[test]
fn save_jpeg() {
let test_plot = create_test_plot();
Expand All @@ -331,8 +325,6 @@ mod tests {
assert!(std::fs::remove_file(dst.as_path()).is_ok());
}

// This seems to fail unpredictably on MacOs.
#[cfg(not(target_os = "macos"))]
#[test]
fn save_webp() {
let test_plot = create_test_plot();
Expand All @@ -343,8 +335,6 @@ mod tests {
assert!(std::fs::remove_file(dst.as_path()).is_ok());
}

// This seems to fail unpredictably on MacOs.
#[cfg(not(target_os = "macos"))]
#[test]
fn save_svg() {
let test_plot = create_test_plot();
Expand All @@ -355,8 +345,6 @@ mod tests {
assert!(std::fs::remove_file(dst.as_path()).is_ok());
}

// This seems to fail unpredictably on MacOs.
#[cfg(not(target_os = "macos"))]
#[test]
fn save_pdf() {
let test_plot = create_test_plot();
Expand Down
Loading