summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/tests/test_command_test.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-05-30 16:15:05 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-05-30 16:15:05 (GMT)
commitc6c5e0461174d60b9d8ef35336e9576dbdc6121c (patch)
tree1c03f9845997f30aaafb967ba5ec4ec681d86d18 /Lib/packaging/tests/test_command_test.py
parent758888d437c4c2d398ec322ff1596e1620f5f0dd (diff)
parent1ae2998f3edaac9d0e98a62847b5d541f5f50ce0 (diff)
downloadcpython-c6c5e0461174d60b9d8ef35336e9576dbdc6121c.zip
cpython-c6c5e0461174d60b9d8ef35336e9576dbdc6121c.tar.gz
cpython-c6c5e0461174d60b9d8ef35336e9576dbdc6121c.tar.bz2
merge heads
Diffstat (limited to 'Lib/packaging/tests/test_command_test.py')
-rw-r--r--Lib/packaging/tests/test_command_test.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/packaging/tests/test_command_test.py b/Lib/packaging/tests/test_command_test.py
index 4fd8452..f780723 100644
--- a/Lib/packaging/tests/test_command_test.py
+++ b/Lib/packaging/tests/test_command_test.py
@@ -150,8 +150,7 @@ class TestTest(TempdirManager,
cmd.tests_require = [phony_project]
cmd.ensure_finalized()
logs = self.get_logs(logging.WARNING)
- self.assertEqual(1, len(logs))
- self.assertIn(phony_project, logs[0])
+ self.assertIn(phony_project, logs[-1])
def prepare_a_module(self):
tmp_dir = self.mkdtemp()