Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Apr 11, 2016
1 parent ae17f98 commit 229fcd9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Bug tracker at https://github.com/giampaolo/psutil/issues

**Enhancements**

- #795: [Windows] new APIs to deal with Windows services: win_service_iter()
and win_service_get().
- #800: [Linux] psutil.virtual_memory() returns a new "shared" memory field.

**Bug fixes**
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1501,7 +1501,7 @@ Windows services
.. versionadded:: 4.2.0
Availability: Windows

.. class:: WindowsService(name, display_name)
.. class:: WindowsService

Represents a Windows service with the given *name*. This class is returned
by :func:`win_service_iter` and :func:`win_service_get` functions and it is
Expand Down
1 change: 1 addition & 0 deletions psutil/tests/test_linux.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ def test_cached(self):
delta=MEMORY_TOLERANCE)

@retry_before_failing()
@unittest.skipIf(TRAVIS, "fails on travis")
def test_shared(self):
total, used, free, shared = free_physmem()
self.assertAlmostEqual(shared, psutil.virtual_memory().shared,
Expand Down

0 comments on commit 229fcd9

Please sign in to comment.