Skip to content

Conversation

erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented Jul 22, 2023

Add test for the 'destination clear' command,
and the 'destination' directive in general.

Fix two bugs in 'destination clear' command:

  1. The text attribute of the allocator is called 'text', not '_text'
  2. Return after processing the 'clear' command,
    instead of proceeding directly to the fail().

(cherry picked from commit 3372bcb)

…' command (python#106972) Add test for the 'destination <name> clear' command, and the 'destination' directive in general. Fix two bugs in 'destination <name> clear' command: 1. The text attribute of the allocator is called 'text', not '_text' 2. Return after processing the 'clear' command, instead of proceeding directly to the fail(). (cherry picked from commit 3372bcb)
@erlend-aasland
Copy link
Contributor Author

FTR, test_unknown_destination_command() was accidentally added in gh-107002. Originally it was a part of gh-106972, so it should have been a part of this backport as well.

@erlend-aasland erlend-aasland enabled auto-merge (squash) July 22, 2023 17:25
@erlend-aasland erlend-aasland merged commit 63c945a into python:3.11 Jul 22, 2023
@erlend-aasland erlend-aasland deleted the backport-3.11-clinic-dest-clear-fix branch July 22, 2023 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants