mirror of
https://github.com/huggingface/candle.git
synced 2025-06-21 12:20:46 +00:00
Fix rustfmt. (#1669)
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
/// Regression test for pth files not loading on Windows.
|
/// Regression test for pth files not loading on Windows.
|
||||||
#[test]
|
#[test]
|
||||||
fn test_pth() {
|
fn test_pth() {
|
||||||
let tensors = candle_core::pickle::PthTensors::new("tests/test.pt").unwrap();
|
let tensors = candle_core::pickle::PthTensors::new("tests/test.pt").unwrap();
|
||||||
tensors.get("test").unwrap().unwrap();
|
tensors.get("test").unwrap().unwrap();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user