Skip to content

Commit 4be0ef2

Browse files
committed
make a small change to test_lxp.py that makes it not fail
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%40460
1 parent f81fe6d commit 4be0ef2

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tests/test_lxp.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
if __name__ == '__main__':
2-
# XXX Allow us to import the sibling module
3-
import os, sys
4-
os.chdir(os.path.split(os.path.abspath(__file__))[0])
5-
sys.path.insert(0, os.path.abspath(os.path.join(os.pardir, "src")))
1+
import os, sys
2+
os.chdir(os.path.split(os.path.abspath(__file__))[0])
3+
sys.path.insert(0, os.path.abspath(os.path.join(os.pardir, "src")))
64

75
from liberalxmlparser import *
86
from treebuilders import dom

0 commit comments

Comments
 (0)