Skip to content
Snippets Groups Projects
Verified Commit 1204feb3 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

STY: For the style checker which is too stupid.

parent c0c2ae64
No related branches found
No related tags found
2 merge requests!100WIP: Filling XLSX: Seems to be working.,!99FIX: `to_table` failed on lists
Pipeline #50263 passed with warnings
...@@ -87,10 +87,10 @@ class TableTest(unittest.TestCase): ...@@ -87,10 +87,10 @@ class TableTest(unittest.TestCase):
# NaN is hard to compare, so we replace it by -999 # NaN is hard to compare, so we replace it by -999
# autopep8: off # autopep8: off
assert result.replace(to_replace=nan, value=-999).to_dict() == { assert result.replace(to_replace=nan, value=-999).to_dict() == {
'p1': {0: 1, 1: -999, 2: -999 }, # noqa: E202 'p1': {0: 1, 1: -999, 2: -999}, # noqa: E202
'p3': {0: 23, 1: [30, 31], 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 'p4': {0: [1], 1: [40.0, 41.0], 2: -999}, # noqa: E202
'p2': {0: -999, 1: [20, 21], 2: -999 }, # noqa: E202 'p2': {0: -999, 1: [20, 21], 2: -999}, # noqa: E202
'p5': {0: -999, 1: -999, 2: [50, 51]} 'p5': {0: -999, 1: -999, 2: [50, 51]}
} }
# autopep8: on # autopep8: on
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment