Skip to content

Commit c81ef12

Browse files
committed
More tests docstrings
1 parent edbef7d commit c81ef12

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/test_iotools.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222

2323
def test_filehandle(tmpdir):
24+
"""Test instance types of objects returned by `filehandle()`."""
2425
tmpfile = tmpdir.join("testfile")
2526
tmpname = str(tmpfile)
2627
# print(tmpname)
@@ -37,6 +38,11 @@ def test_filehandle(tmpdir):
3738

3839

3940
def test_readtxt(tmpdir):
41+
"""Test the `readtxt()` function.
42+
43+
Read text from a regular file as well as from a zip file, both straight and
44+
using the `flat` option.
45+
"""
4046
content = [
4147
"lorem\n",
4248
"ipsum\n",

0 commit comments

Comments
 (0)