mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
bpo-40370: Use the same compile and link args as the interpreter used in test_peg_generator (GH-19674)
This commit is contained in:
parent
1221135289
commit
9e6a1312c1
2 changed files with 16 additions and 3 deletions
|
@ -8,6 +8,7 @@ import sys
|
|||
|
||||
from test import test_tools
|
||||
from test.test_peg_generator.ast_dump import ast_dump
|
||||
from test import support
|
||||
from pathlib import PurePath, Path
|
||||
from typing import Sequence
|
||||
|
||||
|
@ -23,6 +24,9 @@ with test_tools.imports_under_tool('peg_generator'):
|
|||
|
||||
class TestCParser(unittest.TestCase):
|
||||
def setUp(self):
|
||||
cmd = support.missing_compiler_executable()
|
||||
if cmd is not None:
|
||||
self.skipTest('The %r command is not found' % cmd)
|
||||
self.tmp_path = tempfile.mkdtemp()
|
||||
|
||||
def tearDown(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue