summaryrefslogtreecommitdiff
path: root/Lib/test/test_minidom.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-10-24 20:42:55 +0000
committerGuido van Rossum <guido@python.org>2001-10-24 20:42:55 +0000
commit63975145b29b8def84c7808cea9d801d97dcb119 (patch)
tree47c011b863ef4e5fb12e7d4a3bf2039b63d426ec /Lib/test/test_minidom.py
parent313219e73ae684d997f26671f1d20ed64aa60d2c (diff)
downloadcpython-63975145b29b8def84c7808cea9d801d97dcb119.tar.gz
SF patch #474590 -- RISC OS support
Diffstat (limited to 'Lib/test/test_minidom.py')
-rw-r--r--Lib/test/test_minidom.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_minidom.py b/Lib/test/test_minidom.py
index 2a290aa4c8..ab985b83e6 100644
--- a/Lib/test/test_minidom.py
+++ b/Lib/test/test_minidom.py
@@ -4,7 +4,7 @@ from xml.dom.minidom import parse, Node, Document, parseString
from xml.dom import HierarchyRequestErr
import xml.parsers.expat
-import os.path
+import os
import sys
import traceback
from test_support import verbose
@@ -13,7 +13,7 @@ if __name__ == "__main__":
base = sys.argv[0]
else:
base = __file__
-tstfile = os.path.join(os.path.dirname(base), "test.xml")
+tstfile = os.path.join(os.path.dirname(base), "test"+os.extsep+"xml")
del base
def confirm(test, testname = "Test"):