Title: iOS testbed does not correctly handle test arguments with spaces · Issue #141442 · python/cpython · GitHub
Open Graph Title: iOS testbed does not correctly handle test arguments with spaces · Issue #141442 · python/cpython
X Title: iOS testbed does not correctly handle test arguments with spaces · Issue #141442 · python/cpython
Description: Bug report Bug description: The iOS testbed can be given arguments to pass to the test suite - for example: $ python Apple/testbed clone myproject $ python myproject run -- test arg1 arg2 'arg 3' arg4 The arguments are then written into ...
Open Graph Description: Bug report Bug description: The iOS testbed can be given arguments to pass to the test suite - for example: $ python Apple/testbed clone myproject $ python myproject run -- test arg1 arg2 'arg 3' a...
X Description: Bug report Bug description: The iOS testbed can be given arguments to pass to the test suite - for example: $ python Apple/testbed clone myproject $ python myproject run -- test arg1 arg2 'arg ...
Opengraph URL: https://github.com/python/cpython/issues/141442
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"iOS testbed does not correctly handle test arguments with spaces","articleBody":"# Bug report\n\n### Bug description:\n\nThe iOS testbed can be given arguments to pass to the test suite - for example:\n```python\n$ python Apple/testbed clone myproject\n$ python myproject run -- test arg1 arg2 'arg 3' arg4\n```\nThe arguments are then written into a test plan, and used to start the test suite.\n\nThe testbed runner correctly parses the command line arguments, and writes them into the test plan. However, even though Xcode's xctestplan format is a JSON document, and arguments are specified as an array, and `arg 3` in the previous example is passed as a single quoted value in that array, Xcode itself does a raw concatenation of the array content. This means that any argument that contains a space is interpreted at runtime as multiple arguments.\n\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nOther\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-141443\n* gh-141479\n* gh-141480\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/freakboy3742","@type":"Person","name":"freakboy3742"},"datePublished":"2025-11-12T04:52:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/141442/cpython/issues/141442"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2a5be1e6-0e0e-922d-30e9-960268d738cd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EDF8:15D295:F0FB5F:14F70C9:696A874C |
| html-safe-nonce | d883f885822c9b6713bf8c495bc083a3b401cf83f2d9aa72bd42a5b2b232804f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFREY4OjE1RDI5NTpGMEZCNUY6MTRGNzBDOTo2OTZBODc0QyIsInZpc2l0b3JfaWQiOiI1OTkxMDYyNjMwNDIxOTIzNjYwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2630f5532bb1b6fea51a86a7a7385c54d28b967cdd321c1f56337fb2264dc12e |
| hovercard-subject-tag | issue:3614898450 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/141442/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a507a21072a0239fda92113b921c351b3392f3454a34ff5a779ff99dbf3b2bdb/python/cpython/issues/141442 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a507a21072a0239fda92113b921c351b3392f3454a34ff5a779ff99dbf3b2bdb/python/cpython/issues/141442 |
| og:image:alt | Bug report Bug description: The iOS testbed can be given arguments to pass to the test suite - for example: $ python Apple/testbed clone myproject $ python myproject run -- test arg1 arg2 'arg 3' a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | freakboy3742 |
| hostname | github.com |
| expected-hostname | github.com |
| None | d2aa6dedd7d97fa651b17c40401f2605f309df5ca5fb659bf0554cf34f1de825 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c1dbca8981c5e3d6a69bce2f1d289e732b86241d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width