Skip to content

Commit 04d0f65

Browse files
committed
Merge branch 'develop' of github.com:WoLpH/python-progressbar into develop
2 parents ee967f9 + 01780dc commit 04d0f65

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tests/test_timed.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,18 +122,18 @@ def calculate_eta(self, value, elapsed):
122122
time.sleep(10)
123123
p.finish()
124124

125-
import pprint
126-
pprint.pprint(datas)
125+
# Due to weird travis issues, the actual testing is disabled for now
126+
# import pprint
127+
# pprint.pprint(datas[::2])
128+
# pprint.pprint(datas[1::2])
127129

128-
# TODO: for some reason the monkeypatching above doesn't properly work when
129-
# running from Travis. Once this is fixed we'll re-enable this.
130130
# for i, (a, b) in enumerate(zip(datas[::2], datas[1::2])):
131131
# # Because the speed is identical initially, the results should be the
132132
# # same for adaptive and regular transfer speed. Only when the speed
133133
# # changes we should start see a lot of differences between the two
134134
# if i < (n / 2 - 1):
135135
# assert a['elapsed'] == b['elapsed']
136-
# else:
136+
# if i > (n / 2 + 1):
137137
# assert a['elapsed'] > b['elapsed']
138138

139139

0 commit comments

Comments
 (0)