diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2017-11-11 00:08:04 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2017-11-11 00:08:04 -0500 |
| commit | 57a09271dcd0840fb285495fe862aa42d9f9742c (patch) | |
| tree | 9ba46146df34bd7414bec20f8c980f7b5da2a01b /setuptools | |
| parent | d5f914876127d8ea60bc3f90d509fd0745f909f7 (diff) | |
| download | external_python_setuptools-57a09271dcd0840fb285495fe862aa42d9f9742c.tar.gz external_python_setuptools-57a09271dcd0840fb285495fe862aa42d9f9742c.tar.bz2 external_python_setuptools-57a09271dcd0840fb285495fe862aa42d9f9742c.zip | |
xfail test when byte code generation is disabled. Fixes #1193.
Diffstat (limited to 'setuptools')
| -rw-r--r-- | setuptools/tests/test_bdist_egg.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/setuptools/tests/test_bdist_egg.py b/setuptools/tests/test_bdist_egg.py index 61615b38..54742aa6 100644 --- a/setuptools/tests/test_bdist_egg.py +++ b/setuptools/tests/test_bdist_egg.py @@ -44,6 +44,10 @@ class Test: [content] = os.listdir('dist') assert re.match(r'foo-0.0.0-py[23].\d.egg$', content) + @pytest.mark.xfail( + os.environ.get('PYTHONDONTWRITEBYTECODE'), + reason="Byte code disabled", + ) def test_exclude_source_files(self, setup_context, user_override): dist = Distribution(dict( script_name='setup.py', |
