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

test.test_utils.run_tests.py: Fix exit using RuntimeError for better message#3382

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
Starbuck5 merged 2 commits intopygame:mainfromdeveloper-acc:main
Aug 10, 2022

Conversation

@developer-acc
Copy link
Contributor

If you somehow run this file without knowing which file exactly you are running, you will get no information, just "This module is for import only", So you will need to check every single file that was executed.
Fix:
Replaced it with raise ValueError() because it says what happened, and where exactly.

If you somehow run this file without knowing which file exactly you are running you will get no information, just "This module is for import only", So you will need to check every single file that was runned. Replaced it with raise ValueError() because it says what happened, and where.
Copy link
Contributor

@ankith26ankith26 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks for the first time contribution! 🎉 🥳
Left a minor review for you to address before this is merged, but the idea behind this PR sounds good to me

Copy link
Contributor

@Starbuck5Starbuck5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Sure!

@illumeillume changed the titlefixed run_tests.py | Quiet bug catch.test_utils.run_tests.py: exit using RuntimeErrorAug 20, 2022
@illumeillume changed the titletest_utils.run_tests.py: exit using RuntimeErrortest.test_utils.run_tests.py: exit using RuntimeErrorAug 20, 2022
@illumeillume changed the titletest.test_utils.run_tests.py: exit using RuntimeErrortest.test_utils.run_tests.py: Fix exit using RuntimeError for better messageAug 20, 2022
@illumeillume added the bug labelAug 20, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

2 more reviewers

@Starbuck5Starbuck5Starbuck5 approved these changes

@ankith26ankith26ankith26 approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

bugteststests (module)

Projects

None yet

Milestone

2.1.3

Development

Successfully merging this pull request may close these issues.

4 participants

@developer-acc@Starbuck5@ankith26@illume

[8]ページ先頭

©2009-2025 Movatter.jp