Skip to content

Commit e3d82a2

Browse files
committed
Update from deprecated test-env-log to test-log
1 parent 5a68b5e commit e3d82a2

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

onnxruntime/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ ureq = { version = "2.1", optional = true }
3131

3232
[dev-dependencies]
3333
image = "0.23"
34-
test-env-log = { version = "0.2", default-features = false, features = ["trace"] }
34+
test-log = { version = "0.2", default-features = false, features = ["trace"] }
3535
tracing-subscriber = "0.2"
3636
ureq = "2.1"
3737

onnxruntime/src/environment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ impl EnvBuilder {
243243
mod tests {
244244
use super::*;
245245
use std::sync::{RwLock, RwLockWriteGuard};
246-
use test_env_log::test;
246+
use test_log::test;
247247

248248
impl G_ENV {
249249
fn is_initialized(&self) -> bool {

onnxruntime/src/memory.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl Drop for MemoryInfo {
5252
#[cfg(test)]
5353
mod tests {
5454
use super::*;
55-
use test_env_log::test;
55+
use test_log::test;
5656

5757
#[test]
5858
fn memory_info_constructor_destructor() {

onnxruntime/src/tensor/ndarray_tensor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ where
5757
mod tests {
5858
use super::*;
5959
use ndarray::{arr1, arr2, arr3};
60-
use test_env_log::test;
60+
use test_log::test;
6161

6262
#[test]
6363
fn softmax_1d() {

onnxruntime/src/tensor/ort_tensor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ mod tests {
199199
use crate::{AllocatorType, MemType};
200200
use ndarray::{arr0, arr1, arr2, arr3};
201201
use std::ptr;
202-
use test_env_log::test;
202+
use test_log::test;
203203

204204
#[test]
205205
fn orttensor_from_array_0d_i32() {

onnxruntime/tests/integration_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ mod download {
1313

1414
use image::{imageops::FilterType, ImageBuffer, Luma, Pixel, Rgb};
1515
use ndarray::s;
16-
use test_env_log::test;
16+
use test_log::test;
1717

1818
use onnxruntime::{
1919
download::vision::{DomainBasedImageClassification, ImageClassification},

0 commit comments

Comments
 (0)