💚 fix unit test

This commit is contained in:
chfw 2018-11-26 08:07:40 +00:00
parent e37ed9f6e4
commit 8336c4d03b
1 changed files with 2 additions and 5 deletions

View File

@ -98,11 +98,8 @@ def test_detect_float_value_on_custom_nan_text2():
def test_ods_write_format_conversion():
if PY2:
expected = ODS_WRITE_FORMAT_COVERSION[long] # noqa: F821
eq_('float', expected)
else:
raise SkipTest
expected = ODS_WRITE_FORMAT_COVERSION[long] # noqa: F821
eq_('throw_exception', expected)
@raises(IntegerAccuracyLossError)