Commit 57a09271 authored by Jason R. Coombs's avatar Jason R. Coombs

xfail test when byte code generation is disabled. Fixes #1193.

parent d5f91487
v36.7.1
-------
* #1193: Avoid test failures in bdist_egg when
PYTHONDONTWRITEBYTECODE is set.
v36.7.0
-------
......
......@@ -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',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment