summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/tests/test_command_cmd.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/packaging/tests/test_command_cmd.py')
-rw-r--r--Lib/packaging/tests/test_command_cmd.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/packaging/tests/test_command_cmd.py b/Lib/packaging/tests/test_command_cmd.py
index 8ac9dce..6d00ec3 100644
--- a/Lib/packaging/tests/test_command_cmd.py
+++ b/Lib/packaging/tests/test_command_cmd.py
@@ -1,5 +1,6 @@
"""Tests for distutils.cmd."""
import os
+import logging
from packaging.command.cmd import Command
from packaging.dist import Distribution
@@ -43,7 +44,7 @@ class CommandTestCase(support.LoggingCatcher,
wanted = ["command options for 'MyCmd':", ' option1 = 1',
' option2 = 1']
- msgs = self.get_logs()
+ msgs = self.get_logs(logging.INFO)
self.assertEqual(msgs, wanted)
def test_ensure_string(self):