Advertisement
brandizzi

A failing doctest

Feb 26th, 2018
803
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. **********************************************************************
  2. File "vtodo/listing/filler.py", line 75, in filler.get_css_class_dict
  3. Failed example:
  4. d['a']
  5. Exception raised:
  6. Traceback (most recent call last):
  7. File "/usr/lib/python3.6/doctest.py", line 1330, in __run
  8. compileflags, 1), test.globs)
  9. File "<doctest filler.get_css_class_dict[2]>", line 1, in <module>
  10. d['a']
  11. TypeError: 'NoneType' object is not subscriptable
  12. **********************************************************************
  13. File "vtodo/listing/filler.py", line 77, in filler.get_css_class_dict
  14. Failed example:
  15. d['b']
  16. Exception raised:
  17. Traceback (most recent call last):
  18. File "/usr/lib/python3.6/doctest.py", line 1330, in __run
  19. compileflags, 1), test.globs)
  20. File "<doctest filler.get_css_class_dict[3]>", line 1, in <module>
  21. d['b']
  22. TypeError: 'NoneType' object is not subscriptable
  23. **********************************************************************
  24. 1 items had failures:
  25. 2 of 4 in filler.get_css_class_dict
  26. ***Test Failed*** 2 failures.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement