We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f81fe6d commit 4be0ef2Copy full SHA for 4be0ef2
tests/test_lxp.py
@@ -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")))
+import os, sys
+os.chdir(os.path.split(os.path.abspath(__file__))[0])
+sys.path.insert(0, os.path.abspath(os.path.join(os.pardir, "src")))
6
7
from liberalxmlparser import *
8
from treebuilders import dom
0 commit comments