test fix
This commit is contained in:
parent
75e6c0d17a
commit
bed593c924
@ -2,7 +2,7 @@ from classes.file import File
|
|||||||
from os.path import exists
|
from os.path import exists
|
||||||
|
|
||||||
f = File('text.txt')
|
f = File('text.txt')
|
||||||
assert f.write_bytes(b'testing bytes i/o')
|
assert f.write_bytes(b'testing bytes i/o'), 17
|
||||||
assert f.read_bytes(), b'testing bytes i/o'
|
assert f.read_bytes(), b'testing bytes i/o'
|
||||||
f.open() # does it open any text editor on your system?
|
f.open() # does it open any text editor on your system?
|
||||||
f.remove()
|
f.remove()
|
||||||
|
Loading…
Reference in New Issue
Block a user