From d1cfa8852b86280a419758d7fc6700b20ffba876 Mon Sep 17 00:00:00 2001 From: chfw Date: Tue, 27 Nov 2018 07:33:50 +0000 Subject: [PATCH] :green_heart: make test pass --- tests/test_service.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/test_service.py b/tests/test_service.py index 7666785..10b486e 100644 --- a/tests/test_service.py +++ b/tests/test_service.py @@ -98,8 +98,11 @@ def test_detect_float_value_on_custom_nan_text2(): def test_ods_write_format_conversion(): - expected = ODS_WRITE_FORMAT_COVERSION[long] # noqa: F821 - eq_('throw_exception', expected) + if PY2: + expected = ODS_WRITE_FORMAT_COVERSION[long] # noqa: F821 + eq_('throw_exception', expected) + else: + raise SkipTest() @raises(IntegerAccuracyLossError)