Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for PyPy #6

Merged
merged 3 commits into from Dec 21, 2016
Merged

Add support for PyPy #6

merged 3 commits into from Dec 21, 2016

Conversation

jamadden
Copy link
Member

@jamadden jamadden commented Dec 16, 2016

Fixes #5

Also directly use zope-testrunner instead of redirecting through tox.ini
on travis. This lets us use travis caching for much faster test runs.

Also enable coverage reporting.

Fixes #5

Also directly use zope-testrunner instead of redirecting through tox.ini
on travis. This lets us use travis caching for much faster test runs.
@coveralls
Copy link

coveralls commented Dec 16, 2016

Coverage Status

Changes Unknown when pulling ab3748a on pypy into ** on master**.

Copy link
Member

@icemac icemac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for adding PyPy compatibility. I only have one remark about readability.

@@ -143,7 +143,7 @@ example:
>>> import os, tempfile
>>> temp_dir = tempfile.mkdtemp()
>>> sitezcml = os.path.join(temp_dir, 'site.zcml')
>>> written = open(sitezcml, 'w').write('<configure />')
>>> with open(sitezcml, 'w') as f: _ = f.write('<configure />')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be easier to read when breaking this to two lines. Maybe a function could hide the implementation details of writing to the temporary file.

@coveralls
Copy link

coveralls commented Dec 21, 2016

Coverage Status

Changes Unknown when pulling c6f0108 on pypy into ** on master**.

@jamadden jamadden merged commit 1496bea into master Dec 21, 2016
@jamadden jamadden deleted the pypy branch December 21, 2016 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants