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 | |
| parent | d5f914876127d8ea60bc3f90d509fd0745f909f7 (diff) | |
| download | python-setuptools-git-57a09271dcd0840fb285495fe862aa42d9f9742c.tar.gz | |
xfail test when byte code generation is disabled. Fixes #1193.
| -rw-r--r-- | CHANGES.rst | 6 | ||||
| -rw-r--r-- | setuptools/tests/test_bdist_egg.py | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/CHANGES.rst b/CHANGES.rst index 9341c928..f17e79c9 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,9 @@ +v36.7.1 +------- + +* #1193: Avoid test failures in bdist_egg when + PYTHONDONTWRITEBYTECODE is set. + v36.7.0 ------- 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', |
