diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2022-11-06 15:52:15 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-11-06 16:16:04 -0500 |
commit | 9c26c9580b95c782614397a218f8730169fffc12 (patch) | |
tree | f6a86e88541e008dcaf2b075b2e60e2617681966 /tests/helpers.py | |
parent | 556344babd5210c093eba547d1b15489843f4359 (diff) | |
download | python-coveragepy-git-9c26c9580b95c782614397a218f8730169fffc12.tar.gz |
refactor: remove mention of Python 2 unicode
Diffstat (limited to 'tests/helpers.py')
-rw-r--r-- | tests/helpers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/helpers.py b/tests/helpers.py index 446edce0..fbdf1397 100644 --- a/tests/helpers.py +++ b/tests/helpers.py @@ -62,8 +62,8 @@ def make_file(filename, text="", bytes=b"", newline=None): `filename` is the relative path to the file, including directories if desired, which will be created if need be. - `text` is the content to create in the file, a native string (bytes in - Python 2, unicode in Python 3), or `bytes` are the bytes to write. + `text` is the text content to create in the file, or `bytes` are the + bytes to write. If `newline` is provided, it is a string that will be used as the line endings in the created file, otherwise the line endings are as provided |