diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2015-08-31 13:44:02 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2015-08-31 13:44:02 +0200 |
commit | bafd7f4f6c189c9a35c72386839f8c2fd72c5fd6 (patch) | |
tree | 40a856cd5986aea6d4263c90742daf4e80265490 | |
parent | 3601942df655a1b1462d2e141b0cacb07d37d91a (diff) | |
download | psutil-bafd7f4f6c189c9a35c72386839f8c2fd72c5fd6.tar.gz |
skip failing test on appveyor
-rw-r--r-- | HISTORY.rst | 1 | ||||
-rw-r--r-- | test/_windows.py | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/HISTORY.rst b/HISTORY.rst index aefb7494..a1f6b224 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -34,7 +34,6 @@ 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 ee30f700..1663158b 100644 --- a/test/_windows.py +++ b/test/_windows.py @@ -515,12 +515,11 @@ class TestUnicode(unittest.TestCase): self.assertIsInstance(p.cwd(), str) self.assertEqual(p.cwd(), tdir) + @unittest.skipIf(APPVEYOR, "") def test_proc_open_files(self): 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) |