Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@lieryan
Copy link
Member

@lieryan lieryan commented Nov 28, 2022

Fix a number of python2-ism

Fix #542 and others

This was remnant when we were using `unittest`; now no longer necessary
because we now uses `pytest`, as well as `unittest` now have
`discover()` anyway.
Done using:

    $ pyupgrade --py36-plus
@lieryan lieryan added the cleanup Code quality issues. Linter, type checking, Python 2-ism, Pythonic, etc label Nov 28, 2022
@lieryan lieryan added this to the 1.6.0 milestone Nov 28, 2022
@lieryan lieryan self-assigned this Nov 28, 2022
@lieryan lieryan enabled auto-merge November 28, 2022 16:15
@lieryan lieryan merged commit 768f95a into master Nov 28, 2022
@lieryan lieryan deleted the lieryan-fix-python2-isms branch November 28, 2022 16:20
Copy link
Contributor

@edreamleo edreamleo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup Code quality issues. Linter, type checking, Python 2-ism, Pythonic, etc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use fstrings

3 participants