Skip to content

Commit e15da30

Browse files
author
Sakis Kasampalis
committed
Merge pull request faif#44 from yelite/master
Replace the doctest with direct call to main() in adapter.py
2 parents e27509a + 1b4118c commit e15da30

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

adapter.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,10 @@ def main():
8989

9090

9191
if __name__ == "__main__":
92-
import doctest
93-
doctest.testmod()
92+
main()
9493

9594
### OUTPUT ###
96-
95+
# A Dog goes woof!
96+
# A Cat goes meow!
97+
# A Human goes 'hello'
98+
# A Car goes vroom!!!

0 commit comments

Comments
 (0)