Skip to content

TST: Use Skipif Decorators in 'test_excel.py' #19816

Closed
@WillAyd

Description

@WillAyd

xref #19803

The skip_if_no* methods in test_excel.py could all be replaced with the skip_if_no decorator that was introduced in #18765

import pandas.util._test_decorators as td

@td.skip_if_no('xlwt')
def foo(self):
  ...

@td.skip_if_no('xlrd', min_version='0.9')
def bar(self):
  ...

Metadata

Metadata

Assignees

No one assigned

    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