Skip to content

Commit

Permalink
Removed test_5
Browse files Browse the repository at this point in the history
  • Loading branch information
Gloin1313 authored Mar 12, 2017
1 parent 2ed6195 commit eba9d76
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions tests/test_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,18 @@ def test_4a():
.format(b'hello bytes',left, right)
assert left == right, message

def test_5():
'''Tests for sys_write-flush function
1) checks that this works quickly,
2) checks that stdout has no content after flushing
'''
start = time.time()
tools.sys_write_flush("hello world")
myTime = time.time() - start
assert myTime < 0.001
file = sys.stdout.read()
assert file == b""
# test_5 commented out because PR #485 removed sys_write_flush
#def test_5():
# '''Tests for sys_write-flush function
# 1) checks that this works quickly,
# 2) checks that stdout has no content after flushing
# '''
# start = time.time()
# tools.sys_write_flush("hello world")
# myTime = time.time() - start
# assert myTime < 0.001
# file = sys.stdout.read()
# assert file == b""

def test_6():
'''
Expand Down

0 comments on commit eba9d76

Please sign in to comment.