summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2015-08-31 12:40:44 +0200
committerGiampaolo Rodola <g.rodola@gmail.com>2015-08-31 12:40:44 +0200
commit3601942df655a1b1462d2e141b0cacb07d37d91a (patch)
treeac0e653ef2a6aa6a27787bafb865296e60860400
parent83cd32591febc41a3d8057c17bbf0cc80513c460 (diff)
downloadpsutil-3601942df655a1b1462d2e141b0cacb07d37d91a.tar.gz
try to fix appveyor failure
-rw-r--r--HISTORY.rst1
-rw-r--r--test/_windows.py2
2 files changed, 3 insertions, 0 deletions
diff --git a/HISTORY.rst b/HISTORY.rst
index a1f6b224..aefb7494 100644
--- a/HISTORY.rst
+++ b/HISTORY.rst
@@ -34,6 +34,7 @@ Bug tracker at https://github.com/giampaolo/psutil/issues
(patch by sk6249)
- #672: [Windows] compilation fails if using Windows SDK v8.0. (patch by
Steven Winfield)
+- #675: [Linux] UnicodeDecodeError when listing UNIX sockets.
3.1.1 - 2015-07-15
diff --git a/test/_windows.py b/test/_windows.py
index 6aa0c503..ee30f700 100644
--- a/test/_windows.py
+++ b/test/_windows.py
@@ -519,6 +519,8 @@ class TestUnicode(unittest.TestCase):
p = psutil.Process()
start = set(p.open_files())
with open(self.uexe, 'rb'):
+ if APPVEYOR:
+ time.sleep(0.2)
new = set(p.open_files())
path = (new - start).pop().path
self.assertIsInstance(path, str)