##==============================================================#
## SECTION: Imports                                             #
##==============================================================#

import os
import subprocess
import sys

##==============================================================#
## SECTION: Global Definitions                                  #
##==============================================================#

_input = input if sys.version_info >= (3, 0) else raw_input

##==============================================================#
## SECTION: Function Definitions                                #
##==============================================================#

def run_tests():
    """Runs all found test scripts. Returns True if all tests pass."""
    fail = []
    okay = []
    for i in os.listdir("."):
        if i.find("_test_") > -1 and i.endswith(".py"):
            if 0 != subprocess.call("python " + i):
                fail.append(i)
            else:
                okay.append(i)
    if fail:
        print("[ERROR] The following %u tests failed: %r" % (len(fail), fail))
        return False
    print("[DONE] All %u tests completely successfully!" % (len(okay)))
    return True

##==============================================================#
## SECTION: Main Body                                           #
##==============================================================#

if __name__ == '__main__':
    okay = run_tests()
    _input("Press ENTER to continue...")
    sys.exit(0 if okay else 1)

@@ -1453,16 +1453,110 @@
 ain__':%0A
+    pause = True%0A    if len(sys.argv) %3E 1 and %22nopause%22 == sys.argv%5B1%5D:%0A        pause = False%0A
     okay
@@ -1570,16 +1570,34 @@
 tests()%0A
+    if pause:%0A    
     _inp

Update to test runner.