fix NoneType object is not iterable when iterate over self._waiters #727
fix NoneType object is not iterable when iterate over self._waiters #727
Conversation
Hi there this is a fix for #726. no changes in behavier for users. i just don't know if i should add a line or a file in CHANGES for this is my first time contributing to aioredis. CHANGES directory seems to be empty for now. |
Codecov Report
@@ Coverage Diff @@
## master #727 +/- ##
==========================================
+ Coverage 96.92% 97.10% +0.17%
==========================================
Files 57 57
Lines 8497 8114 -383
Branches 560 568 +8
==========================================
- Hits 8236 7879 -357
+ Misses 193 170 -23
+ Partials 68 65 -3
Continue to review full report at Codecov.
|
@jeffguorg It seems like the linters got ya. Install flake8 and run |
Hi, thanks. and i updated my pr. but i see some checks still fails after that. does that matter? |
@jeffguorg Yes. Take a look below these comments, and you'll see all the CI tests. Press "Details" for the Travis CI one and check each traceback error when you load the log. |
@Andrew-Chen-Wang Hi, thanks for your guidance and sorry i was busy working for some other issues. I see that there are two issues. one issue is about timeline protection. but there is no files in CHANGES directory and CHANGES.txt was not updated for months. where should i put the description? another is about tests against test/*.py. one of the test failed. the line looks like this: |
The line is You'll see the lines of failure as red and right below the printed code. Don't worry about timeline protection as that's not required. |
sorry I was not responding for a period. yes. I see that the test case is located in tests/sentinel_failover_test.py:55. I misunderstood the output. the assertion line is but I have no clue why it is failing. nothing about cluster failover had been changed. is it possible that the test case has flaws? |
@jeffguorg Not a problem. It's open source volunteering after all :) Can you try running the test case on your local machine? You can try it using this documentation: https://aioredis.readthedocs.io/en/v1.3.0/devel.html or perhaps just run You've only taken a look at that single travis build. There are other Travis builds that have other issues. Although I'm not entirely sure how Python 3.9 got in there... perhaps it's not something this PR should be concerned over. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
We can ignore the CI failures for now. Once you've followed the checklist (be sure to add a file to |
@seandstewart this is my first time committing to a public repo. i added CHANGES/726.bugfix. is it good enough to merge into the repo? |
@jeffguorg looks like you still need to sign the CLA |
@seandstewart done! I've signed the cla for long. it turns out that I was coding at my office so the commit author was wrong. the bot didn't recognize it. lol |
When the next release will possible? |
What do these changes do?
#726 fix a problem lead by python3.8
Are there changes in behavior for the user?
nope
Related issue number
#726
Checklist
CONTRIBUTORS.txt
<Name> <Surname>
.CHANGES/
folder<issue_id>.<type>
(e.g.588.bugfix
)issue_id
change it to the pr id after creating the PR.feature
: Signifying a new feature..bugfix
: Signifying a bug fix..doc
: Signifying a documentation improvement..removal
: Signifying a deprecation or removal of public API..misc
: A ticket has been closed, but it is not of interest to users.Fix issue with non-ascii contents in doctest text files.