Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Weird doctest errors
File "C:\Users\stucc\Dropbox\src\daywalker\test\..\readme.md", line 86, in readme.md
Failed example:
history[['open', 'high', 'low', 'close', 'volume', 'divCash', 'splitFactor']]
Expected:
open high low close volume divCash splitFactor
date
2004-08-12 17.50 17.58 17.5 17.50 2545100 0.0 1.0
2004-08-13 17.50 17.51 17.5 17.51 593000 0.0 1.0
2004-08-16 17.54 17.54 17.5 17.50 684700 0.0 1.0
Got:
open high low close volume divCash splitFactor
date
2004-08-12 17.50 17.58 17.5 17.50 2545100 0.0 1.0
2004-08-13 17.50 17.51 17.5 17.51 593000 0.0 1.0
2004-08-16 17.54 17.54 17.5 17.50 684700 0.0 1.0
----------------------------------------------------------------------
Ran 7 tests in 0.230s
FAILED (failures=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment