changeset 52296:4361d787e6cf

rust-cpython: remove outdated test This test wasn't testing anything anymore since the feature has been removed. This was caught by clippy 1.82.0.
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 29 Oct 2024 11:35:41 +0100
parents f90796d33aa0
children 644c696b6c18
files rust/hg-cpython/src/lib.rs
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/rust/hg-cpython/src/lib.rs	Tue Oct 29 11:35:01 2024 +0100
+++ b/rust/hg-cpython/src/lib.rs	Tue Oct 29 11:35:41 2024 +0100
@@ -106,10 +106,3 @@
     m.add(py, "GraphError", py.get_type::<exceptions::GraphError>())?;
     Ok(())
 });
-
-#[cfg(not(feature = "python3-bin"))]
-#[test]
-#[ignore]
-fn libpython_must_be_linked_to_run_tests() {
-    // stub function to tell that some tests wouldn't run
-}