-
Notifications
You must be signed in to change notification settings - Fork 275
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
super()
now that we support only Python 3
However leave calls in cdef functions as is; 0-argument super() does not work in cdef or cpdef Cython functions (see cython/cython#3726). The explicit superclass calls in libctabixproxies.pyx were jumping straight to the grandparent class. Using `super()` instead uses NamedTupleProxy's versions of these methods, but it doesn't declare any so calls use the grandparent's methods unchanged. Update the calls in cdef functions similarly for explicitness. TODO TestVCFFromVariantFile similarly directly calls the grandparent's setUp()/tearDown() methods, but changes behaviour as it skips those of the direct parent. This deserves clarification.
- Loading branch information
Showing
6 changed files
with
25 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters