#27612 closed defect (fixed)
Py3 doctests in padic_lattice_element.py
Reported by: | jhpalmieri | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | sage-8.8 |
Component: | python3 | Keywords: | |
Cc: | Merged in: | ||
Authors: | John Palmieri | Reviewers: | Frédéric Chapoton |
Report Upstream: | N/A | Work issues: | |
Branch: | 0dba3b0 (Commits, GitHub, GitLab) | Commit: | |
Dependencies: | Stopgaps: |
Description
Fix the Python 3 doctests in this file.
Change History (7)
comment:1 Changed 3 years ago by
- Branch set to u/jhpalmieri/lattice_element
comment:2 Changed 3 years ago by
- Commit set to 0dba3b0d32d2c683d3a07b1dd6b4cc7a08400285
- Status changed from new to needs_review
comment:3 Changed 3 years ago by
For reasons I don't understand (see https://groups.google.com/d/msg/sage-devel/r7Q7XpL_bgY/1P7BOYzNBgAJ), with Python 2, the different functions ZpLC(2)
, ZpLF(2)
, and a few others all produce deprecation warnings when run at the command line, but there is just a single deprecation warning (printed for the first function and not the rest) when running doctests. With Python 3, the behavior is the same for doctests and at the command line.
comment:4 Changed 3 years ago by
- Reviewers set to Frédéric Chapoton
- Status changed from needs_review to positive_review
ok, good enough for the moment, even if it only cures symptoms
comment:5 Changed 3 years ago by
- Branch changed from u/jhpalmieri/lattice_element to 0dba3b0d32d2c683d3a07b1dd6b4cc7a08400285
- Resolution set to fixed
- Status changed from positive_review to closed
comment:6 Changed 3 years ago by
- Commit 0dba3b0d32d2c683d3a07b1dd6b4cc7a08400285 deleted
Do we need to undo this change? This is now failing for me, maybe because of the upgrade in the version of Python 3.
comment:7 Changed 3 years ago by
Never mind, it's working for me now. I don't know what was going on before.
New commits:
trac 27612: Fix Python 3 doctests for padic_lattice_element.py