File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ def test_bad_any_value() -> None:
39
39
class Foo :
40
40
pass
41
41
42
+ rr .set_strict_mode (False )
42
43
with pytest .warns (RerunWarning ) as warnings :
43
44
values = rr .AnyValues (bad_data = [Foo ()])
44
45
@@ -76,6 +77,7 @@ class Foo:
76
77
77
78
78
79
def test_none_any_value () -> None :
80
+ rr .set_strict_mode (False )
79
81
with pytest .warns (RerunWarning ) as warnings :
80
82
running_warning_count = 0
81
83
@@ -162,6 +164,7 @@ def test_empty_any_values(container_type: type[Any]) -> None:
162
164
f"str_array_{ container_type .__name__ } " : container_type (["str" ]),
163
165
})
164
166
167
+ rr .set_strict_mode (False )
165
168
with pytest .warns (RerunWarning ) as warnings :
166
169
batches = list (values .as_component_batches ())
167
170
assert len (batches ) == 0
@@ -189,6 +192,7 @@ def test_any_values_numpy() -> None:
189
192
190
193
191
194
def test_any_values_with_field () -> None :
195
+ rr .set_strict_mode (False )
192
196
with pytest .warns (DeprecationWarning , match = "`rr.AnyValues.with_field` using a component descriptor is deprecated" ):
193
197
values = rr .AnyValues ().with_component_from_data (
194
198
descriptor = rr .ComponentDescriptor ("value" ),
You can’t perform that action at this time.
0 commit comments