diff options
Diffstat (limited to 'python/tests/test_yieldcurve.py')
| -rw-r--r-- | python/tests/test_yieldcurve.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/tests/test_yieldcurve.py b/python/tests/test_yieldcurve.py index ef1c3169..1331beee 100644 --- a/python/tests/test_yieldcurve.py +++ b/python/tests/test_yieldcurve.py @@ -4,7 +4,7 @@ from quantlib.time.api import ( Period, Quarterly, Schedule, - Rule, + DateGeneration, WeekendsOnly, Following, Unadjusted, @@ -54,7 +54,7 @@ class TestYieldCurve(unittest.TestCase): WeekendsOnly(), Following, Unadjusted, - Rule.CDS2015, + DateGeneration.CDS2015, ) curve_df = [curve.discount(d) for d in cds_schedule[1:-1]] # last date is term_date+1 |
