This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/python3 | |
from multiprocessing import Process | |
from threading import Thread | |
import time | |
def f(n): | |
for i in range(n): | |
i | |
class Clock: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
A TestRunner for use with the Python unit testing framework. It | |
generates a tabular report to show the result at a glance. | |
The simplest way to use this is to invoke its main method. E.g. | |
import unittest | |
import TestRunner | |
... define your tests ... |
NewerOlder