Author: Armin Rigo <[email protected]>
Branch: stm-thread
Changeset: r55036:d45f2e226c6c
Date: 2012-05-11 12:42 +0200
http://bitbucket.org/pypy/pypy/changeset/d45f2e226c6c/

Log:    merge heads

diff --git a/lib_pypy/pypy_test/test_transaction.py 
b/lib_pypy/pypy_test/test_transaction.py
--- a/lib_pypy/pypy_test/test_transaction.py
+++ b/lib_pypy/pypy_test/test_transaction.py
@@ -69,3 +69,16 @@
                 assert lst == range(5) + ['foo']
                 num_foos += 1
         assert num_foos == 1
+
+
+def run_tests():
+    for name in sorted(globals().keys()):
+        if name.startswith('test_'):
+            value = globals().get(name)
+            if type(value) is type(run_tests):
+                print name
+                value()
+    print 'all tests passed.'
+
+if __name__ == '__main__':
+    run_tests()
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to