Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #33794: modules/fp_graded/morphism.py test failure
Happened when doctesting with `--long --all` and 64 threads, both on x86_64 and on aarch64. Possibly related to #30680. {{{ sage -t --long --random-seed=339659929997122211039564167058187187237 /nix/store/bfvc3kipmpmapbikj4zjlgdnglv5hrx2-sage- src-9.6.rc3/src/sage/modules/fp_graded/morphism.py ********************************************************************** File "/nix/store/bfvc3kipmpmapbikj4zjlgdnglv5hrx2-sage- src-9.6.rc3/src/sage/modules/fp_graded/morphism.py", line 1571, in sage.modules.fp_graded.morphism.FPModuleMorphism.image Failed example: K.is_injective() # long time Exception raised: Traceback (most recent call last): File "/nix/store/s6xgkv83xziazw85fvay1zqigfd972jb- python3-3.9.12-env/lib/python3.9/site-packages/sage/doctest/forker.py", line 695, in _run self.compile_and_execute(example, compiler, test.globs) File "/nix/store/s6xgkv83xziazw85fvay1zqigfd972jb- python3-3.9.12-env/lib/python3.9/site-packages/sage/doctest/forker.py", line 1101, in compile_and_execute exec(compiled, globs) File "<doctest sage.modules.fp_graded.morphism.FPModuleMorphism.image[11]>", line 1, in <module> K.is_injective() # long time File "/nix/store/s6xgkv83xziazw85fvay1zqigfd972jb- python3-3.9.12-env/lib/python3.9/site- packages/sage/modules/fp_graded/steenrod/morphism.py", line 122, in is_injective finite_algebra = SteenrodAlgebra_generic(algebra.prime(), profile=self.profile()) File "/nix/store/s6xgkv83xziazw85fvay1zqigfd972jb- python3-3.9.12-env/lib/python3.9/site- packages/sage/modules/fp_graded/steenrod/morphism.py", line 90, in profile return enveloping_profile_elements(elements, File "/nix/store/s6xgkv83xziazw85fvay1zqigfd972jb- python3-3.9.12-env/lib/python3.9/site- packages/sage/modules/fp_graded/steenrod/profile.py", line 132, in enveloping_profile_elements profiles = [profile_elt(x) for x in alist if x != 0] File "/nix/store/s6xgkv83xziazw85fvay1zqigfd972jb- python3-3.9.12-env/lib/python3.9/site- packages/sage/modules/fp_graded/steenrod/profile.py", line 132, in <listcomp> profiles = [profile_elt(x) for x in alist if x != 0] File "/nix/store/s6xgkv83xziazw85fvay1zqigfd972jb- python3-3.9.12-env/lib/python3.9/site- packages/sage/modules/fp_graded/steenrod/profile.py", line 82, in profile_elt minprofile = [max(0, n.exact_log(char) + 1) for n in elt] File "/nix/store/s6xgkv83xziazw85fvay1zqigfd972jb- python3-3.9.12-env/lib/python3.9/site- packages/sage/modules/fp_graded/steenrod/profile.py", line 82, in <listcomp> minprofile = [max(0, n.exact_log(char) + 1) for n in elt] AttributeError: 'int' object has no attribute 'exact_log' }}} URL: https://trac.sagemath.org/33794 Reported by: gh-collares Ticket author(s): John Palmieri Reviewer(s): Travis Scrimshaw
- Loading branch information