test/data/scripts/script2.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 08 Sep 2011 16:35:45 +0200
branchstable
changeset 7771 59ddc2dbe7e0
parent 6631 26c303c3f1aa
permissions -rw-r--r--
[multi-sources] closes #1918120: drop behaviour leading to wrong result as demonstrated by the ticket The formerly implemented behaviour doesn't seems to be useful, nor to have a chance to be correct. At least no test case demonstrate the opposite, so I've dropped it.

from os.path import join
assert __file__.endswith(join('scripts', 'script2.py')), __file__
assert '__main__' == __name__, __name__
assert ['-v'] == __args__, __args__