Skip to content

Instantly share code, notes, and snippets.

#!/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:
"""
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 ...