testGetTile() checks against getPlane(). See #11315
Update test for py.test
Add swapIfRequired to getTileDirect (Fix #10581)

The other `get*Direct` methods all contain a call to
`reader.swapIfRequired()`. The same logic in the non-
direct methods is handled by a call to `setOrder` on
the newly created `PixelData` object.
Prevent double swapping of tile bytes

Each of the `get*Direct` methods now call
swapIfRequired. Non-direct methods should
not call them since double swapping could
occur.
Modify testGetTile to use gatewaywrapper from fixture.
Merge pull request #1831 from ximenesuk/testGetTile_11315_dev44

fix #10581: getTile byte-ordering issue (rebased onto dev_4_4)