diff options
author | Paul McGuire <ptmcg@users.noreply.github.com> | 2018-10-30 16:49:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-30 16:49:30 -0500 |
commit | 6c8840a8553eaef161b7d002c00c76dc61644f0d (patch) | |
tree | 074c907c17443e7cd1477646e4d1d1f9efab3e7b /unitTests.py | |
parent | da86ebf0e7879722d79c91ea8d0a8032df074464 (diff) | |
parent | 7b2e0a4f96935eac91d749cf0d9dfb4b33101d63 (diff) | |
download | pyparsing-git-6c8840a8553eaef161b7d002c00c76dc61644f0d.tar.gz |
Merge pull request #39 from cclauss/patch-2
Undefined name: file() was removed in Python 3
Diffstat (limited to 'unitTests.py')
-rw-r--r-- | unitTests.py | 2 |
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()
|