test_python_dispatch fails under pytest #62501
Comments
Mixing different format functions. The old-style % formatting uses % codes for formatting: 'It will cost $%d Rupees.' % 100 The new-style {} formatting uses {} codes and the .format method 'It will cost ${0} Rupees.'.format(100) Note that with old-style formatting, you have to specify multiple arguments using a tuple: '%d days and %d nights' % (40, 40) |
@Krystal225 do you have a proposed fix? |
@zou3519 can you review my PR and correct errors (if any) please. |
Hello, I am a beginner and I want to contribute to this project. Can you please help me to get started? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To Reproduce
pytest test/test_python_dispatch.py -v
The text was updated successfully, but these errors were encountered: