summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRelease Manager <release@sagemath.org>2018-04-20 01:01:29 +0200
committerVolker Braun <vbraun.name@gmail.com>2018-04-20 01:01:29 +0200
commit88f80f584b76e8ae2b5d45105f5f5214853eedcc (patch)
tree2ecc2999693d97d6aa155d189706efe2fe8b2e86
parentTrac #25196: sage -gdb abort (diff)
parentEnforce the default value of SAGE_BANNER before running this test, since othe... (diff)
Trac #25217: Fix test regression in banner()
Fixes regression introduced in #25056 that assumes the tests are running without the `SAGE_BANNER` environment variable set to a non-default. (We should have a better mechanism in general for setting `sage.env` to the default for tests that depend on it) URL: https://trac.sagemath.org/25217 Reported by: embray Ticket author(s): Erik Bray Reviewer(s): Volker Braun
-rw-r--r--src/sage/misc/banner.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sage/misc/banner.py b/src/sage/misc/banner.py
index d26c258..d6c977d 100644
--- a/src/sage/misc/banner.py
+++ b/src/sage/misc/banner.py
@@ -91,6 +91,7 @@ def banner():
EXAMPLES::
+ sage: import sage.misc.banner; sage.misc.banner.SAGE_BANNER = ''
sage: banner()
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version ..., Release Date: ... │