diff options
| author | Catherine Devlin <catherine.devlin@gmail.com> | 2010-11-07 21:30:13 -0500 |
|---|---|---|
| committer | Catherine Devlin <catherine.devlin@gmail.com> | 2010-11-07 21:30:13 -0500 |
| commit | f8dfd056d0c7b2b778c93bb4ea0c9e245689b583 (patch) | |
| tree | 9319165a00f010dd74efb1c2be2731cdf4c4c468 /cmd2.py | |
| parent | 79057a962c91ef7a854c0258f5b2288ee7cafa7e (diff) | |
| download | cmd2-git-f8dfd056d0c7b2b778c93bb4ea0c9e245689b583.tar.gz | |
improving missing-end detection for transcript test
Diffstat (limited to 'cmd2.py')
| -rwxr-xr-x | cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1516,7 +1516,7 @@ class Cmd2TestCase(unittest.TestCase): result = self.anyWhitespace.sub('', result) self.assert_(re.match(expected, result, re.MULTILINE | re.DOTALL), message) except StopIteration: - message = 'Last %d lines never seen, beginning with\n%s' % (len(expected), expected[0]) + message = 'Final portion of test not returned, beginning at line %d' % (lineNum) self.assert_(len(expected) < 3, message) def tearDown(self): if self.CmdApp: |
