removed long-outdated __main__ tests
[p2pool.git] / p2pool / util / math.py
index 0e2866e..8ad9b77 100644 (file)
@@ -247,10 +247,3 @@ class RateMonitor(object):
             self.first_timestamp = t
         else:
             self.datums.append((t, datum))
-
-if __name__ == '__main__':
-    import random
-    a = 1
-    while True:
-        print a, format(a) + 'H/s'
-        a = a * random.randrange(2, 5)