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: use false instead of /usr/bin/false#2322

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 intopython-gitlab:mainfromAndreySV:fix-test-with-false
Oct 17, 2022

Conversation

AndreySV
Copy link
Contributor

On Debian systems false is located at /bin/false (coreutils package). This fixes unit test failure on Debian system:

FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/false'
/usr/lib/python3.10/subprocess.py:1845: FileNotFoundError

nejch reacted with thumbs up emoji
On Debian systems false is located at /bin/false (coreutils package).This fixes unit test failure on Debian system:FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/false'/usr/lib/python3.10/subprocess.py:1845: FileNotFoundError
Copy link
Member

@nejchnejch 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 catch@AndreySV! I'm surprised no one's complained so far.

I guess looking back on this, I should have just mocked the subprocess side effect, but this already looks less hardcoded :)

@nejchnejch merged commit4eca9b9 intopython-gitlab:mainOct 17, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@nejchnejchnejch approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@AndreySV@nejch

[8]ページ先頭

©2009-2025 Movatter.jp