Skip to content

Commit

Permalink
test: skip test if inference enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
ss2165 committed Jan 9, 2024
1 parent 08a2bd6 commit 7d59f77
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/algorithm/const_fold.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,14 +220,12 @@ mod test {
use crate::extension::prelude::{sum_with_error, BOOL_T};
use crate::extension::{ExtensionRegistry, PRELUDE};
use crate::ops::OpType;
use crate::std_extensions::arithmetic;
use crate::std_extensions::arithmetic::conversions::ConvertOpDef;
use crate::std_extensions::arithmetic::float_ops::FloatOps;
use crate::std_extensions::arithmetic::float_types::{ConstF64, FLOAT64_TYPE};
use crate::std_extensions::arithmetic::int_types::{ConstIntU, INT_TYPES};
use crate::std_extensions::collections::{make_list_const, ListOp, ListValue};
use crate::std_extensions::logic::{self, const_from_bool, NaryLogic};
use crate::std_extensions::{arithmetic, collections};
use crate::types::TypeArg;
use rstest::rstest;

/// int to constant
Expand Down Expand Up @@ -334,8 +332,12 @@ mod test {
Ok(())
}

#[cfg(not(feature = "extension_inference"))]
#[test]
fn test_list_ops() -> Result<(), Box<dyn std::error::Error>> {
use crate::std_extensions::collections::{self, make_list_const, ListOp, ListValue};
use crate::types::TypeArg;

let reg = ExtensionRegistry::try_new([
PRELUDE.to_owned(),
logic::EXTENSION.to_owned(),
Expand Down

0 comments on commit 7d59f77

Please sign in to comment.