summaryrefslogtreecommitdiff
path: root/tests
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
commit5bb05b44a43d5dd33097138f784c2a5a10fd5d6a (patch)
tree06692c1ab7c5123fafbfa7b7998de8ba653a2064 /tests
parent3df6f1d026a601c5c2bd2388c05725f28b38d12b (diff)
downloadpython-setuptools-bitbucket-5bb05b44a43d5dd33097138f784c2a5a10fd5d6a.tar.gz
Fix test failure
Diffstat (limited to 'tests')
-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))