summaryrefslogtreecommitdiff
path: root/unitTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'unitTests.py')
-rw-r--r--unitTests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/unitTests.py b/unitTests.py
index a32f6dc..83dd08c 100644
--- a/unitTests.py
+++ b/unitTests.py
@@ -3902,7 +3902,7 @@ if console:
else:
# HTML mode
outfile = "testResults.html"
- outstream = file(outfile,"w")
+ outstream = open(outfile,"w")
testRunner = HTMLTestRunner.HTMLTestRunner( stream=outstream )
testRunner.run( makeTestSuite() )
outstream.close()