mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
bpo-35683: Improve Azure Pipelines steps (GH-11493)
This commit is contained in:
parent
bf4ac2d2fd
commit
28f6cb34f6
13 changed files with 147 additions and 165 deletions
|
@ -2,6 +2,7 @@ import unittest
|
|||
from test import support
|
||||
import os
|
||||
import sys
|
||||
import sysconfig
|
||||
import subprocess
|
||||
|
||||
|
||||
|
@ -38,8 +39,8 @@ class TestSymbolGeneration(unittest.TestCase):
|
|||
lines2 = fp.readlines()
|
||||
self.assertEqual(lines1, lines2)
|
||||
|
||||
@unittest.skipIf(not os.path.exists(GRAMMAR_FILE),
|
||||
'test only works from source build directory')
|
||||
@unittest.skipUnless(sysconfig.is_python_build(),
|
||||
'test only works from source build directory')
|
||||
def test_real_grammar_and_symbol_file(self):
|
||||
output = support.TESTFN
|
||||
self.addCleanup(support.unlink, output)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue