-
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consolidate Python 2/3 compatibility code (#49)
* Consolidate Python compatibility code Move all of the Python compatibility code into a single module under `dask_image` instead of per subpackage. Should make it a bit easier to manage. * Use shared Python 2/3 compatibility module Update all of the subpackage code to use the shared Python 2/3 compatibility module for their needs. * Consolidate Python 2/3 compatibility tests Move the Python 2/3 compatibility tests into a shared module as was done with the compatibility code itself. Should make this test code easier to manage as well. * Test shared Python 2/3 compatibility module Update Python 2/3 compatibility tests to use the shared compatibility module for testing.
- Loading branch information
Showing
8 changed files
with
7 additions
and
29 deletions.
There are no files selected for viewing
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
|
||
import dask.array | ||
|
||
from . import _pycompat | ||
from .. import _pycompat | ||
|
||
|
||
def _asarray(a): | ||
|
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.