diff options
-rw-r--r-- | pylint/testutils.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pylint/testutils.py b/pylint/testutils.py index 43bd94447..d910e2a7c 100644 --- a/pylint/testutils.py +++ b/pylint/testutils.py @@ -125,7 +125,7 @@ class TestReporter(BaseReporter): sigle = msg_id[0] if linesep != "\n": # 2to3 writes os.linesep instead of using - # the previosly used line separators + # the previously used line separators msg = msg.replace("\r\n", "\n") self.messages.append("%s:%3s%s: %s" % (sigle, line, obj, msg)) @@ -294,7 +294,6 @@ def _create_tempfile(content=None): # see https://bugs.python.org/issue14243 file_handle, tmp = tempfile.mkstemp() if content: - # erff write(file_handle, bytes(content, "ascii")) try: yield tmp |