Skip to content

Fix syntax warning using is with a literal#25

Open
KowalskiThomas wants to merge 1 commit intofixture-py:masterfrom
KowalskiThomas:kowalski/fix-syntax-warning-using-is-with-a-literal
Open

Fix syntax warning using is with a literal#25
KowalskiThomas wants to merge 1 commit intofixture-py:masterfrom
KowalskiThomas:kowalski/fix-syntax-warning-using-is-with-a-literal

Conversation

@KowalskiThomas
Copy link

This fixes a syntax warning reported by Python upon startup.

/usr/local/lib/python3.10/site-packages/fixture/io.py:75: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if p is '':

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants