diff --git a/pandas/conftest.py b/pandas/conftest.py index 049756a0680f6..0e6472966d616 100644 --- a/pandas/conftest.py +++ b/pandas/conftest.py @@ -26,8 +26,10 @@ def pytest_runtest_setup(item): if 'network' in item.keywords and item.config.getoption("--skip-network"): pytest.skip("skipping due to --skip-network") - if 'high_memory' in item.keywords and not item.config.getoption("--run-highmemory"): - pytest.skip("skipping high memory test since --run-highmemory was not set") + if 'high_memory' in item.keywords and not item.config.getoption( + "--run-highmemory"): + pytest.skip( + "skipping high memory test since --run-highmemory was not set") # Configurations for all tests and all test modules diff --git a/pandas/tests/io/parser/test_parsers.py b/pandas/tests/io/parser/test_parsers.py index 1a53dce37bcd7..466cafd85a515 100644 --- a/pandas/tests/io/parser/test_parsers.py +++ b/pandas/tests/io/parser/test_parsers.py @@ -33,7 +33,8 @@ def test_bytes_exceed_2gb(): GH 16798 """ - csv = StringIO('strings\n' + '\n'.join(['x' * (1 << 20) for _ in range(2100)])) + csv = StringIO('strings\n' + '\n'.join( + ['x' * (1 << 20) for _ in range(2100)])) df = read_csv(csv, low_memory=False) assert not df.empty