Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix a minor indentation error#136661

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

Merged

Conversation

gaogaotiantian
Copy link
Member

Not sure if this counts as a "cosmetic change" but this did confuse me for a few seconds. I believe this is a typo when Mark check in the code.

@gaogaotiantiangaogaotiantian merged commitdb20324 intopython:mainJul 15, 2025
40 checks passed
@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotAMD64 Debian root 3.x (tier-1) has failed when building commitdb20324.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/345/builds/11815) and take a look at the build logs.
  4. Check if the failure is related to this commit (db20324) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/345/builds/11815

Failed tests:

  • test_math

Failed subtests:

  • test_sumprod_stress - test.test_math.MathTests.test_sumprod_stress
  • test_eq_with_mutation - test.test_set.TestBinaryOpsMutating_Set_Set.test_eq_with_mutation

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last):  File"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_math.py", line1571, intest_sumprod_stress    run(baseline_sumprod,*args),~~~^^^^^^^^^^^^^^^^^^^^^^^^^  File"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/unittest/case.py", line723, in__call__returnself.run(*args,**kwds)~~~~~~~~^^^^^^^^^^^^^^^TypeError:TestCase.run() takes from 1 to 2 positional arguments but 4 were givenTraceback (most recent call last):  File"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_set.py", line1908, intest_eq_with_mutationself.check_set_op_does_not_crash(lambdaa,b: a== b)~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^  File"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_set.py", line1897, incheck_set_op_does_not_crash    set1, set2=self.make_sets_of_bad_objects()~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^  File"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_set.py", line1890, inmake_sets_of_bad_objects    set2=self.constructor2(Bad()for _inrange(randrange(50)))  File"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/test/test_set.py", line1886, in__hash__return randrange(2)  File"/root/buildarea/3.x.angelico-debian-amd64/build/Lib/random.py", line312, inrandrangeraiseValueError("empty range for randrange()")ValueError:empty range for randrange()

@Anawaert
Copy link

The fact proves that taking travel can improve eyesight when reviewing code : )

NailFec, Anawaert, and tangyuan0821 reacted with laugh emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@iritkatrieliritkatrieliritkatriel approved these changes

@markshannonmarkshannonAwaiting requested review from markshannon

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@gaogaotiantian@bedevere-bot@Anawaert@iritkatriel

[8]ページ先頭

©2009-2025 Movatter.jp