Opened 5 years ago
Closed 5 days ago
#16088 closed enhancement (worksforme)
py3: different exception messages in doctest
Reported by: | wluebbe | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-duplicate/invalid/wontfix |
Component: | python3 | Keywords: | python3 |
Cc: | embray, jhpalmieri, vklein, jdemeyer | Merged in: | |
Authors: | Reviewers: | Vincent Klein | |
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description (last modified by )
Exceptions can look different. For example:
Python 2:
>>> sys.version '2.7.5+ (default, Feb 27 2014, 19:37:08) \n[GCC 4.8.1]' >>> 1/0 Traceback (most recent call last): File "<stdin>", line 1, in <module> ZeroDivisionError: integer division or modulo by zero >>>
Python 3:
>>> sys.version '3.3.2+ (default, Feb 28 2014, 00:52:16) \n[GCC 4.8.1]' >>> 1/0 Traceback (most recent call last): File "<stdin>", line 1, in <module> ZeroDivisionError: division by zero >>>
This ticket is tracked as a dependency of meta-ticket ticket:16052.
Change History (11)
comment:1 Changed 5 years ago by
- Description modified (diff)
- Summary changed from Python 3 preparation: Py2 vs. Py3 differences in tracebacks to Python 3 preparation: Py2 vs. Py3 different tracebacks in doctest
comment:2 Changed 5 years ago by
- Milestone changed from sage-6.2 to sage-6.3
comment:3 Changed 5 years ago by
- Milestone changed from sage-6.3 to sage-6.4
comment:4 Changed 3 years ago by
- Component changed from distribution to python3
comment:5 Changed 2 years ago by
- Milestone changed from sage-6.4 to sage-8.0
comment:6 Changed 16 months ago by
comment:7 Changed 16 months ago by
- Description modified (diff)
- Summary changed from Python 3 preparation: Py2 vs. Py3 different tracebacks in doctest to py: different exception messages in doctest
comment:8 Changed 15 months ago by
- Summary changed from py: different exception messages in doctest to py3: different exception messages in doctest
comment:9 Changed 6 days ago by
- Cc embray jhpalmieri vklein jdemeyer added
- Milestone changed from sage-8.0 to sage-duplicate/invalid/wontfix
- Status changed from new to needs_review
I think that we can now close this one as invalid.
comment:10 Changed 5 days ago by
- Reviewers set to Vincent Klein
- Status changed from needs_review to positive_review
comment:11 Changed 5 days ago by
- Resolution set to worksforme
- Status changed from positive_review to closed
Note: See
TracTickets for help on using
tickets.
See also that ones: