You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
num_regression = <pytest_regressions.num_regression.NumericRegressionFixture object at 0x00000221380F7A58>
def test_torque_drag_work_string(num_regression):
work_string = BuildWorkString(WellType.SPE_84246)
> num_regression.check(CheckWorkString(work_string))
E AssertionError: Only numeric data is supported on dataframe_regression fixture.
E Array with type 'object' was given.
E
E assert dtype('O') not in ['m', 'M', 'O', 'S', 'a', 'U', ...]
E + where dtype('O') = 0 WorkStringElementType.Pipe\n1 WorkStringElementType.Pipe\n2 WorkStringElementType.Pipe\n3 WorkStringEle...pe.Pipe\n15 WorkStringElementType.Pipe\n16 WorkStringElementType.Pipe\nName: work_string_element_type, dtype: object.dtype
source\python\welllib\sim\_tests\test_torque_drag_base_structure.py:103: AssertionError
This problem started to occur after adding the dataframe_regression fixture.
The text was updated successfully, but these errors were encountered: