Skip to content

Commit

Permalink
Patch test_subprocess to work with Meta's build
Browse files Browse the repository at this point in the history
Summary: same as D52499785 for 3.12

Reviewed By: brittanyrey

Differential Revision: D58622165

fbshipit-source-id: 444c4d65f1f032811250fc01bdf95808a87216ed
  • Loading branch information
itamaro authored and facebook-github-bot committed Jun 18, 2024
1 parent f2068d7 commit 7ed2175
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Lib/test/test_subprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,10 @@ def test_executable_with_cwd(self):
'Test is not venv-compatible')
@unittest.skipIf(sysconfig.is_python_build(),
"need an installed Python. See #7774")
# START META PATCH (skip test if running out of buck-out)
@unittest.skipIf("/buck-out/" in sys.executable,
"Test is not compatible with running out of buck-out")
# END META PATCH
def test_executable_without_cwd(self):
# For a normal installation, it should work without 'cwd'
# argument. For test runs in the build directory, see #7774.
Expand Down

0 comments on commit 7ed2175

Please sign in to comment.