Message338766
| Author |
terry.reedy |
| Recipients |
terry.reedy |
| Date |
2019年03月24日.23:11:25 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1553469085.88.0.432002901822.issue36419@roundup.psfhosted.org> |
| In-reply-to |
| Content |
Followup to #30348.
1. Merge try_open_completions_event and _open_completions_later. The latter is only used in the former. Adjust tests to match.
2. The following in test_open_completions tests >>> "something<tab>
self.text.insert('1.0', '"t')
self.assertTrue(self.autocomplete.open_completions(False, True, True))
This passes with unittest (py -m test.test_idle) but fails with regrtest (py -m test -ugui test_idle), with "None is not true". There are multiple 'return None's in open_completions. Determine which with debug prints and try to pass with regrtest. Success does not depend on the inserted text matching any file in the current working directory.
3. Increase coverage. Multiple conditionals are only triggered 1 way. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2019年03月24日 23:11:25 | terry.reedy | set | recipients:
+ terry.reedy |
| 2019年03月24日 23:11:25 | terry.reedy | set | messageid: <1553469085.88.0.432002901822.issue36419@roundup.psfhosted.org> |
| 2019年03月24日 23:11:25 | terry.reedy | link | issue36419 messages |
| 2019年03月24日 23:11:25 | terry.reedy | create |
|