Skip to content
Snippets Groups Projects
Commit 1c3710e2 authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

STY: autopep8'd

parent 5c204a63
Branches
Tags
2 merge requests!128MNT: Added a warning when column metadata is not configured, and a better...,!124Fix unit tests on Windows
Pipeline #58709 passed
......@@ -86,6 +86,8 @@ def test_send_mail():
assert msg.get_content() == "hello!\n"
# skip on windows (has no sendmail)
@mark.skipif(platform.system() == "Windows", reason="no sendmail on Windows")
def test_send_mail_error():
with raises(subprocess.CalledProcessError):
......
......@@ -196,7 +196,7 @@ class TableImporterTest(unittest.TestCase):
[5678, 1, 2.0, 3, 'yes']],
columns=['a', 'b', 'c', 'float', 'd'])
# wrong datatypes before
assert df["a"].dtype != pd.StringDtype
assert df["a"].dtype != pd.StringDtype
assert df["float"].dtype != float
# strict = False by default, so this shouldn't raise an error
importer.check_datatype(df)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment