Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 tests fail #952

Open
yurivict opened this issue Jun 26, 2024 · 0 comments
Open

2 tests fail #952

yurivict opened this issue Jun 26, 2024 · 0 comments

Comments

@yurivict
Copy link

========================================================================================= 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant