File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 3535class TestHelpUtils (test_api_utils .APITestCase ):
3636 def test_get_help_source (self ):
3737 src = helputils .get_help_source ()
38- assert isinstance (src , pycompat .TEXT_TYPE )
38+ msg = 'Invalid help source; src=%r'
39+ assert isinstance (src , pycompat .TEXT_TYPE ), msg % src
3940
4041 def test_get_help_base_location (self ):
4142 src = helputils .get_help_source ()
4243 url = helputils .get_help_base_location (help_source = src )
4344 msg = (
4445 'The help URL cannot be found! '
45- 'Did you build and install documentation?'
46+ 'Did you build and install documentation? '
4647 'url=%r'
4748 )
48- assert isinstance (url , pycompat .TEXT_TYPE ), msg
49+ assert isinstance (url , pycompat .TEXT_TYPE ), msg % url
4950
5051
5152if __name__ == '__main__' :
You can’t perform that action at this time.
0 commit comments