-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Milestone
Description
While packaging for openSUSE/Factory I got these errors:
[ 2870s] ________________________________________________________________________________
[ 2870s] ___________________ sympy.tensor.indexed.IndexedBase.offset ____________________
[ 2870s] File "/home/abuild/rpmbuild/BUILD/sympy-1.10.1/sympy/tensor/indexed.py", line 559, in sympy.tensor.indexed.IndexedBase.offset
[ 2870s] Failed example:
[ 2870s] ccode(A[i, j, k])
[ 2870s] Exception raised:
[ 2870s] Traceback (most recent call last):
[ 2870s] File "/usr/lib64/python3.9/doctest.py", line 1334, in __run
[ 2870s] exec(compile(example.source, filename, "single",
[ 2870s] File "<doctest sympy.tensor.indexed.IndexedBase.offset[6]>", line 1, in <module>
[ 2870s] ccode(A[i, j, k])
[ 2870s] TypeError: 'module' object is not callable
[ 2870s]
[ 2870s] ===== tests finished: 4185 passed, 1 failed, 15 skipped, in 321.43 seconds =====
[ 2870s] DO *NOT* COMMIT!
and
[ 2971s] **********************************************************************
[ 2971s] File "/home/abuild/rpmbuild/BUILD/sympy-1.10.1/doc/src/modules/printing.rst", line
107, in printing.rst
[ 2971s] Failed example:
[ 2971s] print(cxxcode(Min(gamma(x) - 1, x), standard='C++11'))
[ 2971s] Exception raised:
[ 2971s] Traceback (most recent call last):
[ 2971s] File "/usr/lib64/python3.9/doctest.py", line 1334, in __run
[ 2971s] exec(compile(example.source, filename, "single",
[ 2971s] File "<doctest printing.rst[10]>", line 1, in <module>
[ 2971s] print(cxxcode(Min(gamma(x) - 1, x), standard='C++11'))
[ 2971s] TypeError: 'module' object is not callable
[ 2971s] **********************************************************************
[ 2971s] 1 items had failures:
[ 2971s] 1 of 45 in printing.rst
I am not exactly sure whether these are the same errors.
Complete build log with all details: used packages and steps taken to reproduce the problem.
Metadata
Metadata
Assignees
Labels
No labels