Skip to content

Fix test_check to cover both branches #359

@jaraco

Description

@jaraco

It's not just old code. It used to be run in stdlib, where dependencies weren't possible, so they just wrote it to work with or without an optional dependency pygments. I ran it with and without pygments and both branches get hit. I'll refactor this logic so it runs both branches properly in all cases.

Originally posted by @jaraco in #343 (comment)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions