test/data/scripts/script2.py
changeset 6631 26c303c3f1aa
parent 5436 2455ca3a2a3a
--- a/test/data/scripts/script2.py	Mon Oct 25 16:28:05 2010 +0200
+++ b/test/data/scripts/script2.py	Mon Oct 25 17:15:46 2010 +0200
@@ -1,3 +1,4 @@
-assert 'data/scripts/script2.py' == __file__
-assert '__main__' == __name__
+from os.path import join
+assert __file__.endswith(join('scripts', 'script2.py')), __file__
+assert '__main__' == __name__, __name__
 assert ['-v'] == __args__, __args__