Skip to content
This repository has been archived by the owner on Sep 18, 2018. It is now read-only.

Run tests on PyPy, PyPy3, fixes #94 #180

Closed
wants to merge 1 commit into from

Conversation

mmaslowskicc
Copy link
Collaborator

No description provided.

@@ -233,7 +233,10 @@ def postgresql_factory(request):
"""
proc_fixture = request.getfuncargvalue(process_fixture_name)

psycopg2, config = try_import('psycopg2', request)
if platform.python_implementation() == 'PyPy':
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I don't like this, while I'm not sure if there is a more typical way to run an available package among several supported ones.

Copy link
Member

Choose a reason for hiding this comment

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

ideally, it would be kept in compat.py for these ifs

Copy link
Member

Choose a reason for hiding this comment

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

or maybe some modification to try_import?

@coveralls
Copy link

coveralls commented Aug 16, 2016

Coverage Status

Coverage decreased (-0.1%) to 94.485% when pulling 62a6800 on mmaslowskicc:pypy into 6784172 on ClearcodeHQ:master.

@coveralls
Copy link

coveralls commented Aug 16, 2016

Coverage Status

Coverage decreased (-0.1%) to 94.485% when pulling 884aa05 on mmaslowskicc:pypy into 6784172 on ClearcodeHQ:master.

@coveralls
Copy link

coveralls commented Aug 16, 2016

Coverage Status

Coverage decreased (-0.09%) to 94.539% when pulling fb76f2b on mmaslowskicc:pypy into 6784172 on ClearcodeHQ:master.

@coveralls
Copy link

coveralls commented Aug 16, 2016

Coverage Status

Coverage decreased (-0.05%) to 94.575% when pulling fbf572b on mmaslowskicc:pypy into 6784172 on ClearcodeHQ:master.

@pwilczynskiclearcode
Copy link

👍

MySQL support is not working on PyPy3, since it requires Python 3 features not available there yet.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants