Commit 256b319d authored by Damien George's avatar Damien George
Browse files

tests: Disable memoryerror.py test, since it fails on travis.

Would be good to test this, but need to find a way to optionally not
running it when on travis.
parent 48aaa27c
l = list(range(10000))
try:
100000000 * l
except MemoryError:
print('MemoryError')
print(len(l), l[0], l[-1])
# this test for MemoryError can be difficult to reproduce
# on different machine configurations (notably Travis CI)
# so we disable it
# TODO is there a way of testing that we are on Travis CI?
if False:
l = list(range(10000))
try:
100000000 * l
except MemoryError:
print('MemoryError')
print(len(l), l[0], l[-1])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment