Comparison of literals using "is" now raises SyntaxWarning from Python 3.8 . Use == to fix the warnings. This is a good beginner issue.
test/test_server.py:56
/home/runner/work/bottle/bottle/test/test_server.py:56: SyntaxWarning: "is" with a literal. Did you mean "=="?
if rv is 128: # Import error
test/test_server.py:62
/home/runner/work/bottle/bottle/test/test_server.py:62: SyntaxWarning: "is" with a literal. Did you mean "=="?
if rv is 3: # Port in use
Comparison of literals using "is" now raises SyntaxWarning from Python 3.8 . Use
==
to fix the warnings. This is a good beginner issue.