diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2020-11-14 16:10:22 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2020-11-28 16:09:53 +0100 |
commit | c42c677b34fb1de65f55174fc43410d4a6acad50 (patch) | |
tree | ae9af43a84a78b0b641aca02c07bfcb456ab7249 | |
parent | 08472654b40d813de33a98344f073feeb0911fdb (diff) | |
download | pylint-git-c42c677b34fb1de65f55174fc43410d4a6acad50.tar.gz |
Fix a typo in testutils.py
-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 |