Commit 5e43709
gh-128846: Normalize the default in test_configure_custom_copy
On the aqua theme with Tk 9 the native style reports an unset option as an
empty tuple, while a copied (non-native) style reports it as an empty string.
The comparison of the copy against the default therefore has to normalize the
empty tuple in the default. An earlier one-sided normalization of the copy
regressed the CI, which links Tk 8.6, where the native style already reports
an empty string.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent d41c0e6 commit 5e43709
1 file changed
Lines changed: 8 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
168 | 167 | | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
173 | 171 | | |
174 | | - | |
175 | | - | |
| 172 | + | |
| 173 | + | |
176 | 174 | | |
177 | 175 | | |
178 | 176 | | |
| |||
0 commit comments