rust/hg-cpython/src/lib.rs
changeset 52292 4361d787e6cf
parent 52163 7346f93be7a4
equal deleted inserted replaced
52291:f90796d33aa0 52292:4361d787e6cf
   104     m.add(py, "revlog", revlog::init_module(py, &dotted_name)?)?;
   104     m.add(py, "revlog", revlog::init_module(py, &dotted_name)?)?;
   105     m.add(py, "update", update::init_module(py, &dotted_name)?)?;
   105     m.add(py, "update", update::init_module(py, &dotted_name)?)?;
   106     m.add(py, "GraphError", py.get_type::<exceptions::GraphError>())?;
   106     m.add(py, "GraphError", py.get_type::<exceptions::GraphError>())?;
   107     Ok(())
   107     Ok(())
   108 });
   108 });
   109 
       
   110 #[cfg(not(feature = "python3-bin"))]
       
   111 #[test]
       
   112 #[ignore]
       
   113 fn libpython_must_be_linked_to_run_tests() {
       
   114     // stub function to tell that some tests wouldn't run
       
   115 }