Skip to content

test_attempt_read_encrypted_no_password_xls failure in Python 3.7+ #189

@StevenMaude

Description

@StevenMaude

This line specifies an error message. In the test, the text of the exception caused by the code under test is expected to match exactly.

errmsg = "Can't read Excel file: XLRDError('Workbook is encrypted',)"

When running tests on Python 3.7 and 3.8 this fails, because their outputs do not contain the comma (probably due to this change in Python 3.7, I'm guessing).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions