mirror of https://github.com/apache/kafka.git
parent
061cdcef4a
commit
0c69a640f8
|
@ -440,6 +440,8 @@ def main():
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
import doctest
|
import doctest
|
||||||
doctest.testmod()
|
(failure_count, test_count) = doctest.testmod()
|
||||||
|
if (failure_count):
|
||||||
|
exit(-1)
|
||||||
|
|
||||||
main()
|
main()
|
||||||
|
|
Loading…
Reference in New Issue