Skip to content

Instantly share code, notes, and snippets.

@stucchio
Created February 4, 2020 20:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stucchio/e96298fab8bbd3254cfebf8b56207aeb to your computer and use it in GitHub Desktop.
Save stucchio/e96298fab8bbd3254cfebf8b56207aeb to your computer and use it in GitHub Desktop.
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