Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
32696: fix failing doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
seblabbe committed Oct 28, 2021
1 parent 056b8d4 commit 9117551
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/sage/finance/stock.py
Expand Up @@ -551,9 +551,7 @@ def load_from_file(self, file):
sage: with open(filename, 'w') as fobj:
....: _ = fobj.write("Date,Open,High,Low,Close,Volume\n1212405780,187.80,187.80,187.80,187.80,100\n1212407640,187.75,188.00,187.75,188.00,2000\n1212407700,188.00,188.00,188.00,188.00,1000\n1212408000,188.00,188.11,188.00,188.00,2877\n1212408060,188.00,188.00,188.00,188.00,687")
sage: finance.Stock('aapl').load_from_file(filename)[:5]
doctest:warning...
DeprecationWarning: Importing finance from here is deprecated...
[
...
1212408060 188.00 188.00 188.00 188.00 687,
1212408000 188.00 188.11 188.00 188.00 2877,
1212407700 188.00 188.00 188.00 188.00 1000,
Expand Down

0 comments on commit 9117551

Please sign in to comment.