summaryrefslogtreecommitdiff
path: root/psutil/tests
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2017-11-08 12:26:54 +0100
committerGiampaolo Rodola <g.rodola@gmail.com>2017-11-08 12:26:54 +0100
commitc95f317d586bbd4313f705c5618f0fd5477cb210 (patch)
tree84cad5576a94826d06189de21d455f983106f956 /psutil/tests
parent0c25f9a6b20e11059805f55928cec5bcd18fbf6b (diff)
downloadpsutil-c95f317d586bbd4313f705c5618f0fd5477cb210.tar.gz
try to fix appveyor failure; also refactor generate_manifest.py
Diffstat (limited to 'psutil/tests')
-rwxr-xr-xpsutil/tests/test_unicode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/tests/test_unicode.py b/psutil/tests/test_unicode.py
index bbb763f3..c2a2f847 100755
--- a/psutil/tests/test_unicode.py
+++ b/psutil/tests/test_unicode.py
@@ -207,7 +207,7 @@ class _BaseFSAPIsTests(object):
def test_proc_open_files(self):
p = psutil.Process()
start = set(p.open_files())
- with open(self.funky_name, 'wb'):
+ with open(self.funky_name, 'rb'):
new = set(p.open_files())
path = (new - start).pop().path
self.assertIsInstance(path, str)