Skip to content

TST: use ensure_clean rather than explicit os.remove #34384

Closed
@jreback

Description

@jreback
~/pandas-dev$ grep -r os.remove pandas/tests/
pandas/tests/io/excel/test_openpyxl.py:    os.remove(filename)
pandas/tests/io/excel/test_writers.py:    #     os.remove(filename)
pandas/tests/io/excel/test_writers.py:    #     os.remove(filename)
pandas/tests/io/pytables/common.py:            os.remove(path)

we should also create a rule in code_checks.sh to avoid doing this in the future

Metadata

Metadata

Assignees

Labels

IO Excelread_excel, to_excelTestingpandas testing functions or related to the test suitegood first issue

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions