commit | 8e58ca249505cb2a667aafaf4e9aa0b42840111f | [log] [tgz] |
---|---|---|
author | Jean-Paul Calderone <exarkun@divmod.com> | Wed Aug 11 19:54:18 2010 -0400 |
committer | Jean-Paul Calderone <exarkun@divmod.com> | Wed Aug 11 19:54:18 2010 -0400 |
tree | f4e7eff3a2ef3ef7595511db71163ba422f3acd1 | |
parent | 2f6c66f4cb1e22f7f2f97892cc4b28b88b8f9d12 [diff] [blame] |
Ran 15 tests in 0.002s OK
diff --git a/OpenSSL/test/test_rand.py b/OpenSSL/test/test_rand.py index c8645a5..db1544c 100644 --- a/OpenSSL/test/test_rand.py +++ b/OpenSSL/test/test_rand.py
@@ -158,7 +158,7 @@ # Write random bytes to a file tmpfile = self.mktemp() # Make sure it exists (so cleanup definitely succeeds) - fObj = file(tmpfile, 'w') + fObj = open(tmpfile, 'w') fObj.close() try: rand.write_file(tmpfile)