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
Run IPython tests with --colors=NoColor #14370
Comments
This comment has been minimized.
This comment has been minimized.
comment:5
Excellent diagnosis Volker! |
comment:6
On OS X 10.8: I ran
and I got the failures listed here. Does that make any sense? |
comment:7
Maybe |
comment:8
With #14290:
This command yields the same failures:
This one passes all tests:
|
comment:10
The patch doesn't apply cleanly to 5.9.beta1. What are the dependencies? |
Reviewer: John Palmieri |
comment:12
The code makes sense, and this seems to fix the problem. A minor fix: diff --git a/sage/doctest/test.py b/sage/doctest/test.py
--- a/sage/doctest/test.py
+++ b/sage/doctest/test.py
@@ -13,7 +13,7 @@
sage: tests_dir = os.path.join(SAGE_SRC, 'sage', 'doctest', 'tests')
sage: tests_env = dict(os.environ)
-Unset :envvar:TERM when running doctests, see :trac:`14370`::
+Unset :envvar:`TERM` when running doctests, see :trac:`14370`::
sage: try:
....: del tests_env['TERM'] Along these lines, is there a ticket to add files from the |
Attachment: 14370_ipython_nocolors.patch.gz |
comment:13
Replying to @jhpalmieri:
See #14376, you can go ahead and make a patch for it. |
comment:14
Attachment: 14370_ipython_nocolors_v2.patch.gz |
comment:15
I changed the patch slightly, I think this is a better solution. Note the change to |
This comment has been minimized.
This comment has been minimized.
comment:17
I prefer v2, too. But |
Attachment: 14370_run_doctests_fix.patch.gz Initial patch |
This comment has been minimized.
This comment has been minimized.
comment:19
I've added the patch that does that. Positive review to Jeroen's patch. |
comment:20
Looks good to me. |
Merged: sage-5.9.beta3 |
Changed reviewer from John Palmieri to John Palmieri, David Roe |
Changed author from Jeroen Demeyer to Jeroen Demeyer, Volker Braun |
On some systems:
Also, on OS X 10.8:
Apply attachment: 14370_ipython_nocolors_v2.patch, attachment: 14370_run_doctests_fix.patch
Depends on #12415
Depends on #14331
Depends on #13278
Component: interfaces
Author: Jeroen Demeyer, Volker Braun
Reviewer: John Palmieri, David Roe
Merged: sage-5.9.beta3
Issue created by migration from https://trac.sagemath.org/ticket/14370
The text was updated successfully, but these errors were encountered: