summarylogtreecommitdiffstats
path: root/fix_doctest_failures.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fix_doctest_failures.patch')
-rw-r--r--fix_doctest_failures.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/fix_doctest_failures.patch b/fix_doctest_failures.patch
deleted file mode 100644
index daeebac6c001..000000000000
--- a/fix_doctest_failures.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Author: Vincent Prat <vinceprat@free.fr>
-Description: Fix trivial doctest failures
---- a/astroplan/constraints.py
-+++ b/astroplan/constraints.py
-@@ -1217,7 +1217,7 @@
- >>> import numpy as np
- >>> airmasses = np.array([1, 1.5, 2, 3, 0])
- >>> min_best_rescale(airmasses, 1, 2.25, less_than_min = 0)
-- array([ 1. , 0.6, 0.2, 0. , 0. ])
-+ array([1. , 0.6, 0.2, 0. , 0. ])
- """
- rescaled = (vals - max_val) / (min_val - max_val)
- below = vals < min_val
-@@ -1262,7 +1262,7 @@
- >>> import numpy as np
- >>> altitudes = np.array([20, 30, 40, 45, 55, 70])
- >>> max_best_rescale(altitudes, 35, 60)
-- array([ 0. , 0. , 0.2, 0.4, 0.8, 1. ])
-+ array([0. , 0. , 0.2, 0.4, 0.8, 1. ])
- """
- rescaled = (vals - min_val) / (max_val - min_val)
- below = vals < min_val