Test failure on macOS
See original GitHub issueAs part of starting to see how to contribute, I checked out the code, installed the requirements, and ran the tests, which produced this test failure.
________________________________________________________________________ test_output _________________________________________________________________________
tmpdir = local('/private/var/folders/rj/671kk3fx4cj_q5qdpp4kcmmm0000gp/T/pytest-of-miketheman/pytest-1/test_output0')
def test_output(tmpdir):
files = """
unrelated: []
foo:
- __init__.py
- a.py: |
from bar import b
bar:
- __init__.py
- b.py
"""
with create_files(files) as workdir:
> assert os.getcwd() == workdir
E AssertionError: assert '/private/var...T/tmpdq01lrqw' == '/var/folders/...T/tmpdq01lrqw'
E - /private/var/folders/rj/671kk3fx4cj_q5qdpp4kcmmm0000gp/T/tmpdq01lrqw
E ? --------
E + /var/folders/rj/671kk3fx4cj_q5qdpp4kcmmm0000gp/T/tmpdq01lrqw
tests/test_cli.py:21: AssertionError
It looks like the os.getcwd
call is returning the full path including /private/
preface.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Check if a Mac disk is about to fail - Apple Support
On your Mac, open Disk Utility in the Utilities folder in Applications. · Select the disk you want to check. · Click the...
Read more >macOS Big Sur upgrade issue - Provar
If you use a Mac and want to upgrade to macOS Big Sur, you will need to use Provar version 2.2.1 to avoid...
Read more >Multiple test failures on MacOS 12 (Monterey) Apple Silicon ...
Confirming that running the test on Apple Silicon creates huge files > 300GB in size. Had to kill the process when 50% of...
Read more >[Bug] and [macOS] Exchange test failed : r/Airmailreddit
I've tried the app specific passwords but to no avail. Airmail can no longer connect to Office 365 exchange server if two-factor auth...
Read more >How to detect disk failure on Mac - CleanMyMac X
Restart your Mac and hold down Command + R. Select Reinstall macOS in macOS Utilities. Having a disk fail on your Mac, especially...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I should probably remove the tox files. I don’t use them because they’re horribly slow. I would just create a virtualenv for each version you want to test and run pytest.
Awesome! I’ve confirmed that the original error, and the
HOME
do not trigger on a fresh virtualenv. Thanks! Closing!