Test that split is the inverse operation of join
(Parser, argv)
| 69 | @pytest.mark.skipif(IS_WASM, reason="Cannot start subprocess") |
| 70 | @pytest.mark.parametrize('argv', argv_cases) |
| 71 | def test_roundtrip(Parser, argv): |
| 72 | """ |
| 73 | Test that split is the inverse operation of join |
| 74 | """ |
| 75 | try: |
| 76 | joined = Parser.join(argv) |
| 77 | assert argv == Parser.split(joined) |
| 78 | except NotImplementedError: |
| 79 | pytest.skip("Not implemented") |