Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:43:06) [MSC v.1600 32 bit (Intel)] on win32
- Type "copyright", "credits" or "license()" for more information.
- >>> ================================ RESTART ================================
- >>>
- Start Testing!
- length Test
- List length: 7
- List length: 0
- to_string Test
- List is: ringing
- List is: ringing
- List is:
- count Test
- In function count()
- None
- In function count()
- None
- In function count()
- None
- find Test
- In function find()
- None
- In function find()
- None
- starts_with Test
- In function starts_with()
- None
- In function starts_with()
- None
- In function starts_with()
- None
- remove_value Test
- In function remove_value()
- None
- In function remove_value()
- None
- insert Test
- In function insert()
- None
- In function insert()
- None
- In function insert()
- None
- reverse Test
- In function reverse()
- None
- In function reverse()
- None
- In function reverse()
- None
- ----------
- length Test
- List length: 6
- to_string Test
- List is: Traceback (most recent call last):
- File "C:\Python34\works\Assignment 2\part 1\assign2_partI_test_file.py", line 83, in <module>
- print(list_function.to_string(num_list1))
- File "C:\Python34\works\Assignment 2\part 1\list_function.py", line 44, in to_string
- string += (my_list[element])
- TypeError: Can't convert 'int' object to str implicitly
- >>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement