Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-133213: Add tests forstring.templatelib.TemplateIter
#133215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
def test_iter(self): | ||
x = 1 | ||
res = list(iter(t'abc {x} yz')) |
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.
Also test two interpolations next to each other?
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.
We already have tests for the iteration, I just test that directiter()
call work correctly.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
0e21ed7
intopython:mainUh oh!
There was an error while loading.Please reload this page.
bedevere-bot commentedApr 30, 2025
|
Uh oh!
There was an error while loading.Please reload this page.
I did not include
pickle
tests, because I found a problem with it. I will open a separate issue for that, it will require some C code modifications.TemplateIter
tests #133213