Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'main' into clinic/coverage-output-directive
  • Loading branch information
ambv authored Jul 22, 2023
commit 264230c7bf85b877938d4b2276cc6ad329fca6a0
9 changes: 9 additions & 0 deletions Lib/test/test_clinic.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,15 @@ def test_directive_output_print(self):
last_line.startswith("/*[clinic end generated code: output=")
)

def test_unknown_destination_command(self):
out = self.expect_failure("""
/*[clinic input]
destination buffer nosuchcommand
[clinic start generated code]*/
""")
msg = "unknown destination command 'nosuchcommand'"
self.assertIn(msg, out)


class ClinicGroupPermuterTest(TestCase):
def _test(self, l, m, r, output):
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.