summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-07-02 16:51:56 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-07-02 16:51:56 (GMT)
commit0c6de43dd936327ab4c57338c5e20f6e8824e7ee (patch)
tree6d3ab255eadb14b76efc9ec23f338dd0e2c795f5 /Lib
parent869321484d041dce21e04bcd96a3fe0b2eae57e1 (diff)
downloadcpython-0c6de43dd936327ab4c57338c5e20f6e8824e7ee.zip
cpython-0c6de43dd936327ab4c57338c5e20f6e8824e7ee.tar.gz
cpython-0c6de43dd936327ab4c57338c5e20f6e8824e7ee.tar.bz2
remove this test; a module level warning is enough
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_py3kwarn.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/Lib/test/test_py3kwarn.py b/Lib/test/test_py3kwarn.py
index 36c988f..f510d93 100644
--- a/Lib/test/test_py3kwarn.py
+++ b/Lib/test/test_py3kwarn.py
@@ -354,17 +354,6 @@ class TestStdlibRemovals(unittest.TestCase):
mod.walk("crashers", dumbo, None)
self.assertEquals(str(w.message), msg)
- def test_commands_members(self):
- import commands
- # commands module tests may have already triggered this warning
- reset_module_registry(commands)
- members = {"mk2arg" : 2, "mkarg" : 1, "getstatus" : 1}
- for name, arg_count in members.items():
- with warnings.catch_warnings():
- warnings.filterwarnings("error")
- func = getattr(commands, name)
- self.assertRaises(DeprecationWarning, func, *([None]*arg_count))
-
def test_reduce_move(self):
from operator import add
# reduce tests may have already triggered this warning