param
param copied to clipboard
2 tests fail
========================================================================================= FAILURES ==========================================================================================
______________________________________________________________________ TestParameterizedFunction.test_pickle_instance _______________________________________________________________________
self = <tests.testparameterizedobject.TestParameterizedFunction testMethod=test_pickle_instance>
def test_pickle_instance(self):
import pickle
s = pickle.dumps(instance)
instance.scale=0.8
i = pickle.loads(s)
> self.assertEqual(i(),(0.3,18,[10,20,30]))
E AssertionError: Tuples differ: (0.3, 18, [99]) != (0.3, 18, [10, 20, 30])
E
E First differing element 2:
E [99]
E [10, 20, 30]
E
E - (0.3, 18, [99])
E + (0.3, 18, [10, 20, 30])
tests/testparameterizedobject.py:895: AssertionError
______________________________________________________________ TestParameterizedFunction.test_parameterized_function_instance _______________________________________________________________
self = <tests.testparameterizedobject.TestParameterizedFunction testMethod=test_parameterized_function_instance>
def test_parameterized_function_instance(self):
> self._basic_tests(instance)
tests/testparameterizedobject.py:888:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/testparameterizedobject.py:876: in _basic_tests
self.assertEqual(fn(),(0.3,18,[99]))
E AssertionError: Tuples differ: (0.8, 18, [99]) != (0.3, 18, [99])
E
E First differing element 0:
E 0.8
E 0.3
E
E - (0.8, 18, [99])
E ? ^
E
E + (0.3, 18, [99])
E ? ^
================================================================================== short test summary info ==================================================================================
SKIPPED [1] tests/testtimedependent.py:316: gmpy is not installed
SKIPPED [1] tests/testtimedependent.py:300: gmpy is not installed
SKIPPED [1] tests/testtimedependent.py:107: gmpy is not installed
SKIPPED [1] tests/testtimedependent.py:114: gmpy is not installed
SKIPPED [1] tests/testfiledeserialization.py:185: pyarrow.feather is not available
SKIPPED [1] tests/testfiledeserialization.py:177: odfpy is not available
SKIPPED [1] tests/testfiledeserialization.py:163: openpyxl is not available
SKIPPED [1] tests/testfiledeserialization.py:170: openpyxl is not available
SKIPPED [1] tests/testfiledeserialization.py:205: pytables is not available
SKIPPED [1] tests/testfiledeserialization.py:192: fastparquet and pyarrow are not available
================================================================== 2 failed, 1397 passed, 10 skipped, 2 xfailed in 13.04s ===================================================================
Version: 2.1.1 Python-3.11 FreeBSD 14.1
Hi @yurivict, thanks for reporting that and sorry for the very late reply. Do you happen to know if the tests are still failing on FreeBSD?
I haven't seen these tests failing in the last months, closing, happy to reopen if they fail again.