diff options
| author | Scott <[email protected]> | 2022-01-27 13:42:09 -0800 |
|---|---|---|
| committer | Scott <[email protected]> | 2022-01-27 13:42:09 -0800 |
| commit | b3ef553f4f30614b97e23f2d4ad6d6576ec57adf (patch) | |
| tree | a8ad1d0d07d6ba439b020581360f896ad1a737ea /unittest_utils.py | |
| parent | c901f3eb1acf78fd4933d8faeedc517ccafe627e (diff) | |
Adding test code trying to improve test coverage.
Diffstat (limited to 'unittest_utils.py')
| -rw-r--r-- | unittest_utils.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unittest_utils.py b/unittest_utils.py index f4fed35..e84b4eb 100644 --- a/unittest_utils.py +++ b/unittest_utils.py @@ -275,6 +275,7 @@ class RecordStdout(object): ... print("This is a test!") >>> print({record().readline()}) {'This is a test!\\n'} + >>> record().close() """ def __init__(self) -> None: @@ -301,6 +302,7 @@ class RecordStderr(object): ... print("This is a test!", file=sys.stderr) >>> print({record().readline()}) {'This is a test!\\n'} + >>> record().close() """ def __init__(self) -> None: |
