]> granicus.if.org Git - python/commitdiff
Remove test for timing (already not built since commented out in setup.py).
authorNeal Norwitz <nnorwitz@gmail.com>
Sat, 4 Mar 2006 18:35:47 +0000 (18:35 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sat, 4 Mar 2006 18:35:47 +0000 (18:35 +0000)
Add note to NEWS.

Lib/test/test_timing.py [deleted file]
Misc/NEWS

diff --git a/Lib/test/test_timing.py b/Lib/test/test_timing.py
deleted file mode 100644 (file)
index 5797833..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-from test.test_support import verbose
-import timing
-
-r = range(100000)
-if verbose:
-    print 'starting...'
-timing.start()
-for i in r:
-    pass
-timing.finish()
-if verbose:
-    print 'finished'
-
-secs = timing.seconds()
-milli = timing.milli()
-micro = timing.micro()
-
-if verbose:
-    print 'seconds:', secs
-    print 'milli  :', milli
-    print 'micro  :', micro
index 41d5475d21162ec2901ec913b21f14da090e957c..634f1682f893ad246d61b3b856ebd0097f16a4b5 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -268,6 +268,9 @@ Core and builtins
 Extension Modules
 -----------------
 
+- The timing module is no longer built by default.  It was deprecated
+  in PEP 4 in Python 2.0 or earlier.
+
 - Patch 1433928: Added a new type, defaultdict, to the collections module.
   This uses the new __missing__ hook behavior added to dict (see above).