summarylogtreecommitdiffstats
path: root/test-optional.patch
diff options
context:
space:
mode:
authorAntonio Rojas2018-10-21 08:50:04 +0000
committerAntonio Rojas2018-10-21 08:50:04 +0000
commitf49b668fbc044f0b7b8eb3a646002738bb6bce52 (patch)
tree4a39d85688108a57b2b1260fd69e8c00179ae8bd /test-optional.patch
parenta0714fa9d94ceae7f8a69e511159e96fe62d6d97 (diff)
downloadaur-f49b668fbc044f0b7b8eb3a646002738bb6bce52.tar.gz
Sync with [community]
Diffstat (limited to 'test-optional.patch')
-rw-r--r--test-optional.patch8
1 files changed, 3 insertions, 5 deletions
diff --git a/test-optional.patch b/test-optional.patch
index 891f8181dc02..b04946e7f608 100644
--- a/test-optional.patch
+++ b/test-optional.patch
@@ -1,10 +1,9 @@
--- src/sage/doctest/control.py.orig 2016-10-20 19:39:53.714618246 +0200
+++ src/sage/doctest/control.py 2016-10-20 19:40:15.158049920 +0200
-@@ -326,24 +326,6 @@
- if "all" in options.optional:
+@@ -346,22 +346,6 @@
# Special case to run all optional tests
options.optional = True
-- else:
+ else:
- # We replace the 'optional' tag by all optional
- # packages for which the installed version matches the
- # latest available version (this implies in particular
@@ -21,7 +20,6 @@
- if not optionaltag_regex.search(o):
- raise ValueError('invalid optional tag {!r}'.format(o))
-
-- options.optional |= auto_optional_tags
+ options.optional |= auto_optional_tags
self.options = options
- self.files = args