From 1204feb3dcd9756a5e69aed7e1326ced4c01be04 Mon Sep 17 00:00:00 2001 From: Daniel <d.hornung@indiscale.com> Date: Wed, 24 Apr 2024 12:13:29 +0200 Subject: [PATCH] STY: For the style checker which is too stupid. https://github.com/PyCQA/pycodestyle/issues/924 --- unittests/test_table_converter.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/unittests/test_table_converter.py b/unittests/test_table_converter.py index 436d6359..23068744 100644 --- a/unittests/test_table_converter.py +++ b/unittests/test_table_converter.py @@ -87,10 +87,10 @@ class TableTest(unittest.TestCase): # NaN is hard to compare, so we replace it by -999 # autopep8: off assert result.replace(to_replace=nan, value=-999).to_dict() == { - 'p1': {0: 1, 1: -999, 2: -999 }, # noqa: E202 - 'p3': {0: 23, 1: [30, 31], 2: -999 }, # noqa: E202 - 'p4': {0: [1], 1: [40.0, 41.0], 2: -999 }, # noqa: E202 - 'p2': {0: -999, 1: [20, 21], 2: -999 }, # noqa: E202 + 'p1': {0: 1, 1: -999, 2: -999}, # noqa: E202 + 'p3': {0: 23, 1: [30, 31], 2: -999}, # noqa: E202 + 'p4': {0: [1], 1: [40.0, 41.0], 2: -999}, # noqa: E202 + 'p2': {0: -999, 1: [20, 21], 2: -999}, # noqa: E202 'p5': {0: -999, 1: -999, 2: [50, 51]} } # autopep8: on -- GitLab