docstring

This commit is contained in:
meejah 2022-09-21 19:01:28 -06:00
parent 5973196931
commit ea39e4ca69

View File

@ -185,6 +185,9 @@ class RunTests(SyncTestCase):
@given(text())
def test_pidfile_contents(self, content):
"""
invalid contents for a pidfile raise errors
"""
assume(not self.good_file_content_re.match(content))
pidfile = FilePath("pidfile")
pidfile.setContent(content.encode("utf8"))