mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
IDLE test_textview: add comments and test, increase coverage to 100% (#1641)
This commit is contained in:
parent
ba365da9ce
commit
295304d412
2 changed files with 25 additions and 9 deletions
|
@ -87,6 +87,7 @@ def view_file(parent, title, filename, encoding=None, modal=True, _utest=False):
|
|||
parent=parent)
|
||||
else:
|
||||
return view_text(parent, title, contents, modal, _utest=_utest)
|
||||
return None
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue