Fixed build issue. Skipped pypy bytecode-without-source tests.
This commit is contained in:
parent
3d02248afe
commit
be7c4e4d21
|
@ -1,8 +1,8 @@
|
|||
include AUTHORS.md
|
||||
include CONTRIBUTING.md
|
||||
include HISTORY.md
|
||||
include AUTHORS.rst
|
||||
include CONTRIBUTING.rst
|
||||
include HISTORY.rst
|
||||
include LICENSE
|
||||
include README.md
|
||||
include README.rst
|
||||
|
||||
recursive-include tests *
|
||||
recursive-exclude * __pycache__
|
||||
|
|
4
setup.py
4
setup.py
|
@ -1,13 +1,11 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
|
||||
try:
|
||||
from setuptools import setup
|
||||
except ImportError:
|
||||
from distutils.core import setup
|
||||
|
||||
|
||||
with open('README.rst') as readme_file:
|
||||
readme = readme_file.read()
|
||||
|
||||
|
@ -25,7 +23,7 @@ test_requirements = [
|
|||
setup(
|
||||
name='polyloader',
|
||||
version='0.1.0',
|
||||
description="Importlib shim that enables mixed syntax in Python packages and executables.",
|
||||
description="Importlib shim that enables heterogeneous syntax in Python packages.",
|
||||
long_description=readme + '\n\n' + history,
|
||||
author='Kenneth M. "Elf" Sternberg',
|
||||
author_email='elf.sternberg@gmail.com',
|
||||
|
|
|
@ -55,6 +55,8 @@ class Test_Imports(object):
|
|||
else:
|
||||
assert(False)
|
||||
|
||||
@pytest.mark.skipif(hasattr(sys, 'pypy_version_info'),
|
||||
reason="PyPy won't load bytecode if source not present.")
|
||||
def test_import(self):
|
||||
sys.path.insert(0, os.curdir)
|
||||
ext = 'py'
|
||||
|
@ -139,6 +141,8 @@ class Test_Imports(object):
|
|||
assert(orig_path == new_os.path)
|
||||
assert(orig_getenv != new_os.getenv)
|
||||
|
||||
@pytest.mark.skipif(hasattr(sys, 'pypy_version_info'),
|
||||
reason="PyPy won't load bytecode if source not present.")
|
||||
def test_module_with_large_stack(self, module='longlist'):
|
||||
# Regression test for http://bugs.python.org/issue561858.
|
||||
filename = module + os.extsep + 'py'
|
||||
|
|
Loading…
Reference in New Issue