aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_pkg_resources.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-07-02 12:08:16 -0400
committerJason R. Coombs <jaraco@jaraco.com>2013-07-02 12:08:16 -0400
commit78c3e6b7b3a12d74416f43995d50b04bdb817f0b (patch)
tree8c7e6ac0c5181c14f9b253bcd2474e278cd0d0eb /tests/test_pkg_resources.py
parentd7640129c2464206fe1431411c8603e7994ca55c (diff)
downloadexternal_python_setuptools-78c3e6b7b3a12d74416f43995d50b04bdb817f0b.tar.gz
external_python_setuptools-78c3e6b7b3a12d74416f43995d50b04bdb817f0b.tar.bz2
external_python_setuptools-78c3e6b7b3a12d74416f43995d50b04bdb817f0b.zip
Fix test failure
Diffstat (limited to 'tests/test_pkg_resources.py')
-rw-r--r--tests/test_pkg_resources.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_pkg_resources.py b/tests/test_pkg_resources.py
index 398f1acc..dfa27120 100644
--- a/tests/test_pkg_resources.py
+++ b/tests/test_pkg_resources.py
@@ -56,7 +56,7 @@ class TestZipProvider(object):
zp = pkg_resources.ZipProvider(mod)
filename = zp.get_resource_filename(manager, 'data.dat')
assert os.stat(filename).st_mtime == 1368379500
- f = open(filename, 'wb')
+ f = open(filename, 'w')
f.write('hello, world?')
f.close()
os.utime(filename, (1368379500, 1368379500))