summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2016-02-10 23:32:39 +0100
committerGiampaolo Rodola <g.rodola@gmail.com>2016-02-10 23:32:39 +0100
commit51de28ff17dc57f65ff40760d4783d9eec269e46 (patch)
tree4169226d531ad1d1791b64914215e69a6e1a70d3
parentd471eba4dc79009fa648858313783c844e83c10e (diff)
downloadpsutil-51de28ff17dc57f65ff40760d4783d9eec269e46.tar.gz
remove scrutinizer; it's just annoying
-rw-r--r--DEVGUIDE.rst11
-rw-r--r--psutil/tests/test_linux.py2
2 files changed, 1 insertions, 12 deletions
diff --git a/DEVGUIDE.rst b/DEVGUIDE.rst
index 996a679b..e61d0cf9 100644
--- a/DEVGUIDE.rst
+++ b/DEVGUIDE.rst
@@ -108,17 +108,6 @@ An icon in the home page (README) always shows the last coverage percentage:
:target: https://coveralls.io/github/giampaolo/psutil?branch=master
:alt: Test coverage (coverall.io)
-Code quality
-------------
-
-Code quality is controlled by `scrutinizer-ci <https://scrutinizer-ci.com/g/giampaolo/psutil/>`_
-which provides a report signaling duplicated code and other amenities. It is
-controlled by `.scrutinizer.yml <https://github.com/giampaolo/psutil/blob/master/.scrutinizer.yml>`_.
-An icon in the home page always shows a code quality score:
-
-.. image:: https://img.shields.io/scrutinizer/g/giampaolo/psutil.svg
- :target: https://scrutinizer-ci.com/g/giampaolo/psutil/
- :alt: Code quality (scrutinizer-ci.com)
=============
Documentation
diff --git a/psutil/tests/test_linux.py b/psutil/tests/test_linux.py
index 10df5e65..e0e6eea8 100644
--- a/psutil/tests/test_linux.py
+++ b/psutil/tests/test_linux.py
@@ -280,7 +280,7 @@ class TestSystemCPU(unittest.TestCase):
# this way we'll fall back on relying on /proc/stat
def open_mock(name, *args, **kwargs):
if name.startswith('/proc/cpuinfo'):
- return io.BytesIO("")
+ return io.BytesIO(b"")
else:
return orig_open(name, *args, **kwargs)