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

chore: correct ModuleNotFoundError() arguments#2033

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
nejch merged 1 commit intomainfromjlvillal/module_not_found_error
May 30, 2022

Conversation

@JohnVillalovos
Copy link
Member

Previously in commit233b79e I had
used thename argument forModuleNotFoundError(). This basically
is the equivalent of not passing any message to
ModuleNotFoundError(). So when the exception was raised it wasn't
very helpful.

Correct that and add a unit-test that shows we get the message we
expect.

Previously in commit233b79e I hadused the `name` argument for `ModuleNotFoundError()`. This basicallyis the equivalent of not passing any message to`ModuleNotFoundError()`. So when the exception was raised it wasn'tvery helpful.Correct that and add a unit-test that shows we get the message weexpect.
@codecov-commenter
Copy link

Codecov Report

Merging#2033 (0b7933c) intomain (f0152dc) willincrease coverage by8.74%.
The diff coverage is100.00%.

@@            Coverage Diff             @@##             main    #2033      +/-   ##==========================================+ Coverage   84.98%   93.72%   +8.74%==========================================  Files          78       78                Lines        4941     4941              ==========================================+ Hits         4199     4631     +432+ Misses        742      310     -432
FlagCoverage Δ
cli_func_v481.64% <0.00%> (?)
py_func_v480.51% <0.00%> (?)
unit84.98% <100.00%> (ø)

Flags with carried forward coverage won't be shown.Click here to find out more.

Impacted FilesCoverage Δ
gitlab/cli.py100.00% <ø> (+31.96%)⬆️
gitlab/client.py95.31% <100.00%> (+4.01%)⬆️
gitlab/config.py100.00% <0.00%> (+1.14%)⬆️
gitlab/v4/objects/members.py94.73% <0.00%> (+1.75%)⬆️
gitlab/v4/objects/export_import.py94.59% <0.00%> (+2.70%)⬆️
gitlab/types.py100.00% <0.00%> (+3.33%)⬆️
gitlab/v4/objects/wikis.py96.42% <0.00%> (+3.57%)⬆️
gitlab/v4/objects/notes.py94.23% <0.00%> (+3.84%)⬆️
gitlab/v4/objects/groups.py88.65% <0.00%> (+4.25%)⬆️
... and31 more

@nejchnejch merged commitb2e6f3b intomainMay 30, 2022
@nejchnejch deleted the jlvillal/module_not_found_error branchMay 30, 2022 06:38
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nejchnejchAwaiting requested review from nejch

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@JohnVillalovos@codecov-commenter@nejch

[8]ページ先頭

©2009-2025 Movatter.jp