Guest User

Untitled

a guest
Jan 19th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. >>> import doctest
  2. >>> doctest.testfile ('tests.txt', False)
  3. **********************************************************************
  4. File "tests.txt", line 55, in tests.txt
  5. Failed example:
  6. snd = a1.left_to_right (snd, len(snd))
  7. Exception raised:
  8. Traceback (most recent call last):
  9. File "C:\Python27\lib\doctest.py", line 1254, in __run
  10. compileflags, 1) in test.globs
  11. File "<doctest tests.txt[20]>", line 1, in <module>
  12. snd = a1.left_to_right (snd, len(snd))
  13. File "a1.py", line 51, in left_to_right
  14. i = sound.get_index(sample)
  15. NameError: global name 'fade_length' is not defined
  16. **********************************************************************
  17. File "tests.txt", line 56, in tests.txt
  18. Failed example:
  19. snd == snd_left_to_right
  20. Expected:
  21. True
  22. Got:
  23. False
  24. **********************************************************************
  25. 1 items had failures:
  26. 2 of 22 in tests.txt
  27. ***Test Failed*** 2 failures.
  28. TestResults(failed=2, attempted=22)
Add Comment
Please, Sign In to add comment