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

self.assertItemsEqual is Python 2.7 only #43

Closed
peterjc opened this issue Dec 4, 2015 · 2 comments
Closed

self.assertItemsEqual is Python 2.7 only #43

peterjc opened this issue Dec 4, 2015 · 2 comments

Comments

@peterjc
Copy link
Contributor

peterjc commented Dec 4, 2015

You could use self.assertCountEqual under Python 3 (see #40), or just replace it with explicit sorting and call the generic unittest method self.assertEqual instead?

@andrewjpage
Copy link
Member

We'll come back to this if genometools gets python 3 bindings. We just have to convince @satta

@satta
Copy link
Collaborator

satta commented Dec 8, 2015

I remember I started making it Python 3 compliant a while ago:

$ git log gtpython3 -1                                      [master] [0]
commit eca9ea465fe8bed3070ecb442f0e498ffa9bbe8c
Author: Sascha Steinbiss <steinbiss@zbh.uni-hamburg.de>
Date:   Tue Jan 8 09:54:02 2013 +0100

    more python3 fixes

so I might want to revisit that branch soon... maybe there is not much left to do.

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

No branches or pull requests

3 participants