mirror of
https://github.com/python/cpython.git
synced 2025-10-06 23:21:06 +00:00
[3.6] IDLE test_textview: add comments and test, increase coverage to 100% (GH-1641) (#2018)
(cherry picked from commit 295304d412
)
This commit is contained in:
parent
af609a00a6
commit
bbeaccc76b
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