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.
--- 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
-}