Fix linting issues · rs2/pandas@7b1cd8d (original) (raw)

2 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -26,8 +26,10 @@ def pytest_runtest_setup(item):
26 26 if 'network' in item.keywords and item.config.getoption("--skip-network"):
27 27 pytest.skip("skipping due to --skip-network")
28 28
29 -if 'high_memory' in item.keywords and not item.config.getoption("--run-highmemory"):
30 -pytest.skip("skipping high memory test since --run-highmemory was not set")
29 +if 'high_memory' in item.keywords and not item.config.getoption(
30 +"--run-highmemory"):
31 +pytest.skip(
32 +"skipping high memory test since --run-highmemory was not set")
31 33
32 34
33 35 # Configurations for all tests and all test modules
Original file line number Diff line number Diff line change
@@ -33,7 +33,8 @@ def test_bytes_exceed_2gb():
33 33
34 34 GH 16798
35 35 """
36 -csv = StringIO('strings\n' + '\n'.join(['x' * (1 << 20) for _ in range(2100)]))
36 +csv = StringIO('strings\n' + '\n'.join(
37 + ['x' * (1 << 20) for _ in range(2100)]))
37 38 df = read_csv(csv, low_memory=False)
38 39 assert not df.empty
39 40