rust/hg-cpython/src/lib.rs
changeset 48839 7b068abe4aa2
parent 48020 1194394510ba
child 49932 136aa80aa8b2
equal deleted inserted replaced
48838:cd3e25adcf84 48839:7b068abe4aa2
    60     m.add(py, "revlog", revlog::init_module(py, &dotted_name)?)?;
    60     m.add(py, "revlog", revlog::init_module(py, &dotted_name)?)?;
    61     m.add(py, "GraphError", py.get_type::<exceptions::GraphError>())?;
    61     m.add(py, "GraphError", py.get_type::<exceptions::GraphError>())?;
    62     Ok(())
    62     Ok(())
    63 });
    63 });
    64 
    64 
    65 #[cfg(not(any(feature = "python27-bin", feature = "python3-bin")))]
    65 #[cfg(not(feature = "python3-bin"))]
    66 #[test]
    66 #[test]
    67 #[ignore]
    67 #[ignore]
    68 fn libpython_must_be_linked_to_run_tests() {
    68 fn libpython_must_be_linked_to_run_tests() {
    69     // stub function to tell that some tests wouldn't run
    69     // stub function to tell that some tests wouldn't run
    70 }
    70 }