diff options
| author | Steve Dower <steve.dower@microsoft.com> | 2019-02-04 17:15:13 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-04 17:15:13 -0800 |
| commit | 95d86241efd33f8db71e72352b31185389f4d68d (patch) | |
| tree | 4fabf7e3dc3d8f812fd8a03168fed666637006db /tests | |
| parent | cb20330b1f00ca7864338c7518a8f0883b3844a1 (diff) | |
| download | python-setuptools-git-95d86241efd33f8db71e72352b31185389f4d68d.tar.gz | |
bpo-35299: Fixed sysconfig and distutils during PGO profiling (GH-11744)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_build_ext.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_build_ext.py b/tests/test_build_ext.py index a7221827..88847f9e 100644 --- a/tests/test_build_ext.py +++ b/tests/test_build_ext.py @@ -177,10 +177,12 @@ class BuildExtTestCase(TempdirManager, cmd.finalize_options() py_include = sysconfig.get_python_inc() - self.assertIn(py_include, cmd.include_dirs) + for p in py_include.split(os.path.pathsep): + self.assertIn(p, cmd.include_dirs) plat_py_include = sysconfig.get_python_inc(plat_specific=1) - self.assertIn(plat_py_include, cmd.include_dirs) + for p in plat_py_include.split(os.path.pathsep): + self.assertIn(p, cmd.include_dirs) # make sure cmd.libraries is turned into a list # if it's a string |
