Skip to content
This repository was archived by the owner on Aug 25, 2024. It is now read-only.

Commit e03f5e2

Browse files
committed
style: Format with black
Signed-off-by: John Andersen <[email protected]>
1 parent 636a3bc commit e03f5e2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/util/testing/test_docs.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,23 @@
22

33
from dffml.util.testing.docs import run_doctest
44

5+
56
def bad_func():
67
"""
78
>>> bad_func()
89
True
910
"""
1011
return False
1112

13+
1214
def good_func():
1315
"""
1416
>>> good_func()
1517
True
1618
"""
1719
return True
1820

21+
1922
class TestDocs(unittest.TestCase):
2023
def test_run_doctest_bad(self):
2124
with self.assertRaisesRegex(Exception, "Failed example:"):

0 commit comments

Comments
 (0)