Skip to content

Commit 9367f53

Browse files
committed
Add missing imports
1 parent fc3d09a commit 9367f53

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎Lib/test/libregrtest/skipped.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ def expected_to_be_skipped(test_name):
293293

294294
if test_name == 'test_asdl_parser':
295295
# Test only relevant for from-source Python builds
296+
import sysconfig
296297
return not sysconfig.is_python_build()
297298

298299
return False

‎Lib/test/test_perfmaps.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import os
22
import sys
33
import unittest
4+
from test import support
45

56
try:
67
from _testinternalcapi import perf_map_state_teardown, write_perf_map_entry

0 commit comments

Comments
 (0)