diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-08-28 11:21:37 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-08-28 11:21:37 +0200 |
commit | 1ade959858caaf21f804092b008145d4265b0184 (patch) | |
tree | e735e4487c253788aa0e20eb056ff7fa9d05a125 | |
parent | e637bf51253ae860c0a343433d8244636fa70da3 (diff) | |
download | trollius-git-1ade959858caaf21f804092b008145d4265b0184.tar.gz |
runtests.py: display a message to mention if tests are run in debug or release mode
-rw-r--r-- | runtests.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtests.py b/runtests.py index f23aaa9..d4a7aad 100644 --- a/runtests.py +++ b/runtests.py @@ -264,6 +264,11 @@ def runtests(): finder = TestsFinder(args.testsdir, includes, excludes) if catchbreak: installHandler() + import asyncio.coroutines + if asyncio.coroutines._DEBUG: + print("Run tests in debug mode") + else: + print("Run tests in release mode") try: if args.forever: while True: |