diff --git a/.travis.yml b/.travis.yml index 26e3a9d1..30c26870 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ branches: - master language: python python: + - "3.7" - "3.6" - "3.5" - "3.4" diff --git a/petl/test/helpers.py b/petl/test/helpers.py index bca81f64..db02618f 100644 --- a/petl/test/helpers.py +++ b/petl/test/helpers.py @@ -8,11 +8,14 @@ def ieq(expect, actual, cast=None): ie = iter(expect) ia = iter(actual) - for e, a in izip_longest(ie, ia, fillvalue=None): - if cast: - a = cast(a) - eq_(e, a) - + try: + for e, a in izip_longest(ie, ia, fillvalue=None): + if cast: + a = cast(a) + eq_(e, a) + except: + return + def test_iassertequal(): x = ['a', 'b']