Skip to content

Commit

Permalink
[static][3.8 -> 3.10] use test.support.import_helper.import_module di…
Browse files Browse the repository at this point in the history
…rectly

Summary: The alias was removed in python/cpython#21771.

Test Plan: `sandcastle`

Reviewers: emacs, #cinder_porting, #staticpython

Reviewed By: emacs

Subscribers: jbiesnecker, dominik, orvid

Differential Revision: https://phabricator.intern.facebook.com/D38540106

Tags: lintBounce, cinder-310-exclusive
  • Loading branch information
sinancepel authored and Service User committed Aug 10, 2022
1 parent 3a5e2de commit 3823c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_compiler/test_static/patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from compiler.pycodegen import PythonCodeGenerator
from unittest.mock import Mock, patch

from test.support import import_module
from test.support.import_helper import import_module

from .common import StaticTestBase

Expand Down

0 comments on commit 3823c48

Please sign in to comment.