Mercurial > hg
view tests/test-eolfilename.out @ 10716:5f92bde72eef
check-code: Only call check-code if __name__ = "__main__".
This changeset moves the code that actually executes something to the
"if __name__ = '__main__'" section to allow the file to be imported as
a module.
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Tue, 16 Mar 2010 19:52:56 +0100 |
parents | 2253715fde97 |
children | 717c35d55fb3 |
line wrap: on
line source
% test issue352 adding he llo abort: '\n' and '\r' disallowed in filenames: 'he\rllo' adding he llo abort: '\n' and '\r' disallowed in filenames: 'he\rllo' adding hell o abort: '\n' and '\r' disallowed in filenames: 'hell\no' adding hell o abort: '\n' and '\r' disallowed in filenames: 'hell\no' f he llo he llo f hell o hell o % test issue2039 [0;35;1;4m? foo[0m bar [0;35;1;4m? foo[0m bar.baz