Commit Graph

210 Commits

Author SHA1 Message Date
Tony S Yu e0dafcf004 Clean up test 2014-01-14 23:27:23 -06:00
Tony S Yu 25e349d416 Remove outdated function 2014-01-14 23:15:45 -06:00
Tony S Yu 07f2656975 Factor out function injection 2014-01-14 23:09:27 -06:00
Tony S Yu 19102510ce Move wrapper function 2014-01-14 23:09:27 -06:00
Tony S Yu 8a4c5ce354 Add comments about how plugins are managed. 2014-01-14 23:09:27 -06:00
Tony S Yu 0f78de46e5 Add dynamic creation of imread_collection function 2014-01-14 23:09:26 -06:00
Tony S Yu d7cf60ef0b Attempt to fix failing test on Python 3 buildbot 2013-12-07 11:45:37 -06:00
Tony S Yu f7fa4049f5 Test null plugin 2013-12-07 10:41:03 -06:00
Tony S Yu b715b79c31 Test Image._repr_png_ 2013-12-07 10:26:56 -06:00
Tony S Yu f04e14272f Fix doctest which causes side-effects.
I'm not sure that there's a safe way to write this example as a doctest,
but I think this will pass on Travis (although it still has side-effects.
2013-12-07 01:07:17 -06:00
Tony S Yu 6a751045f1 Un-revert commits added to test Travis CI failures 2013-12-07 01:04:40 -06:00
Tony S Yu 27bab63900 Un-revert "Fix failing doctest on systems w/o PIL" commit 2013-12-07 00:22:34 -06:00
Tony S Yu c09f1bfd32 Revert previous 3 commits to test Travis CI failures. 2013-12-07 00:01:32 -06:00
Tony S Yu 99c5ba409a Slight clean up of tests 2013-12-06 23:43:56 -06:00
Tony S Yu c329ff14bc Fix failing doctest on systems w/o PIL 2013-12-06 22:40:37 -06:00
Tony S Yu 0f88bed41d Remove inherited config and file-type-specific code.
This functionality needs to fleshed out a bit more. This commit can be
reverted after the initial refactor PR.
2013-12-06 22:40:25 -06:00
Tony S Yu e59daf474c Modest attempt at normalizing file extensions 2013-12-05 23:38:13 -06:00
Tony S Yu 99aa5a8238 Move io._plugins.plugin to io.manage_plugins 2013-12-05 23:19:47 -06:00
Tony S Yu 0922ccf923 Refactor load_preferred_plugins 2013-12-05 23:19:47 -06:00
Tony S Yu ac4eb5ae7b Make preferred_plugins a dict 2013-12-05 23:19:47 -06:00
Tony S Yu 6994bc53b9 Add test for loading preferred plugins. 2013-12-05 23:19:47 -06:00
Tony S Yu 860c6b5cb5 Use InheritedConfig for plugin_store 2013-12-05 23:19:46 -06:00
Tony S Yu f1dce4be9d Change plugin_store to use InheritedConfig 2013-12-05 23:19:46 -06:00
Tony S Yu fabe4fa0cc Move tests to separate file. 2013-12-05 23:19:46 -06:00
Tony S Yu e04066de7e Change InheritedConfig so a key is contained if a parent key is contained 2013-12-05 23:19:46 -06:00
Tony S Yu db45127fa9 Fix test so it doesn't have side-effects 2013-12-05 23:19:46 -06:00
Tony S Yu 90f1e791d8 PEP8 2013-12-05 23:19:46 -06:00
Tony S Yu 318781bca1 Add test that error gets raised when no plugin available 2013-12-05 23:19:45 -06:00
Tony S Yu 86abc7c970 Factor out url handling for unified file/url behavior 2013-12-05 23:19:45 -06:00
Tony S Yu 41e62fa087 Add comment for clarification 2013-12-05 23:19:45 -06:00
Tony S Yu 8a2e88241e Factor out config-file parsing for clarity 2013-12-05 23:19:45 -06:00
Tony S Yu 77ff0615d9 Fix wrapping of plugin descriptions 2013-12-05 23:19:45 -06:00
Tony S Yu 1d39961757 Minor rename 2013-12-05 23:19:45 -06:00
Tony S Yu a23e31b553 Factor out table formatting code. 2013-12-05 23:19:45 -06:00
Tony S Yu f8ea426608 Refactor io doc building code 2013-12-05 23:19:44 -06:00
Tony S Yu 552f24be8e Remove unnecessary initialization 2013-12-05 23:19:44 -06:00
Tony S Yu c820699cd8 Remove unnecessary class 2013-12-05 23:19:44 -06:00
Tony S Yu 79587eaf48 Remove debugging statement 2013-12-05 23:19:44 -06:00
Tony S Yu 03388d49cd Use explicit imports 2013-12-05 23:19:44 -06:00
Tony S Yu 312151b481 Move __init__ functions to submodules.
And rename functions so we don't have to alias imports.
2013-12-05 23:19:44 -06:00
Tony S Yu b8c30bad46 Move image stack to its own module 2013-12-05 23:19:43 -06:00
JDWarner 54d7031f42 FIX: New versions of FreeImage report software as "I", not "ImageMagick ..." 2013-11-20 12:05:46 -06:00
Johannes Schönberger 3b1182cc2f Skip show commands for doc tests 2013-11-12 08:30:12 +01:00
Johannes Schönberger 2e7f14d2d0 Fix multi image doctest 2013-11-03 19:14:58 +01:00
Stefan van der Walt eb6867cfe2 Make six an external dependency. 2013-10-27 14:06:26 +02:00
Stefan van der Walt 8e763f4e48 Fix Py3 exception in GTK plugin. 2013-10-17 13:44:19 +02:00
Johannes Schönberger 394d904e17 Merge pull request #768 from cgohlke/patch-2
TST: use BytesIO to save images into file-like object
2013-10-11 08:39:23 -07:00
cgohlke be3be537e6 TST: use BytesIO to save images into file-like object
StringIO does not work on Python 3
2013-10-10 21:22:40 -07:00
cgohlke ea357a4464 BUG: basestring not defined on PY3 2013-10-10 21:16:14 -07:00
François Boulogne 741d6fda95 PEP8: comparison 2013-10-02 18:14:20 +02:00