Skip to content

Commit 49f5514

Browse files
committed
Update import path
1 parent db050da commit 49f5514

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/test/test_cmd_line.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import unittest
1212
from test import support
1313
from test.support import os_helper
14-
from test.support import force_not_colorized
14+
from test.support import force_not_colorized, warnings_helper
1515
from test.support import threading_helper
1616
from test.support.script_helper import (
1717
spawn_python, kill_python, assert_python_ok, assert_python_failure,
@@ -932,14 +932,14 @@ def test_python_asyncio_debug(self):
932932
self.assertIn(b'True', out)
933933

934934
@unittest.skipUnless(sysconfig.get_config_var('Py_TRACE_REFS'), "Requires --with-trace-refs build option")
935-
@support.ignore_warnings(category=DeprecationWarning)
935+
@warnings_helper.ignore_warnings(category=DeprecationWarning)
936936
def test_python_dump_refs(self):
937937
code = 'import sys; sys._clear_type_cache()'
938938
rc, out, err = assert_python_ok('-c', code, PYTHONDUMPREFS='1')
939939
self.assertEqual(rc, 0)
940940

941941
@unittest.skipUnless(sysconfig.get_config_var('Py_TRACE_REFS'), "Requires --with-trace-refs build option")
942-
@support.ignore_warnings(category=DeprecationWarning)
942+
@warnings_helper.ignore_warnings(category=DeprecationWarning)
943943
def test_python_dump_refs_file(self):
944944
with tempfile.NamedTemporaryFile() as dump_file:
945945
code = 'import sys; sys._clear_type_cache()'

0 commit comments

Comments
 (0)