Repository navigation
test: replace random_bytes with random.randbytes - #28727
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code CoverageFor detailed information about the code coverage, see the test coverage report. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
There was a problem hiding this comment.
Any reason to change this and remove the trailing ,?
There was a problem hiding this comment.
no good reason really, will revert shortly
|
lgtm ACK fe3ac37 |
There was a problem hiding this comment.
ACK fe3ac37, thanks for picking this up
nit for future reference: no need to mention the issue number (28720) in the commit message, it causes a bit of github spam and this change is self-explanatory. It can be good practice for more complex commits to point the reader towards additional resources (but even then, commits are ideally self-explanatory)
With Python upgraded to 3.9 replaced the
random_bytesfunction in util of functional tests and replaced it's usage withrandom.randbytes.Closes #28720.