Current Path : /usr/local/lib/python2.5/test/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/lib/python2.5/test/test_imgfile.pyc |
³ò h”Rc @ sc d Z d d k l Z l Z l Z d d k Z d d k Z d d k Z d „ Z d „ Z e ƒ d S( s3 Simple test script for imgfile.c Roger E. Masse iÿÿÿÿ( t verboset unlinkt findfileNc C sX t i t d ƒ d ƒ t i t d ƒ d ƒ t d ƒ t d ƒ t d ƒ t d ƒ d S( Ns testrgb.uues test.rgbs greyrgb.uues greytest.rgb( t uut decodeR t testimageR ( ( ( s- /usr/local/lib/python2.5/test/test_imgfile.pyt main s c C sª d d k } d d k } d } y t i | ƒ } Wn t i j or t d j o | i d } n | i t i } | i | i ƒ } | | d <| i i | ƒ } t i | ƒ } n Xt o d | t | ƒ f GHn t i | ƒ } t o d GHn t i | | | d | d | d ƒ t o d | t | ƒ f GHn t o d GHn t i | | d d | d d d d ƒ } t o d GHn t i d ƒ t o d GHn t i | | d d | d d d d ƒ } t o d GHn t i d ƒ t o d GHn t i | | d d | d d d ƒ } t o d GHn t i | | d d | d d d d ƒ } t o d GHn t i | | | d d | d d | d ƒ | i | ƒ d S( s^ Run through the imgfile's battery of possible methods on the image passed in name. iÿÿÿÿNs /tmp/deletemet __main__i s! Opening test image: %s, sizes: %ss Writing output filei i s( Opening scaled test image: %s, sizes: %ss Filtering with "impulse"t impulseg @s Switching to X compatibilitys Filtering with "triangle"t triangleg @s# Switching back to SGI compatibilitys Filtering with "quadratic"t quadratics Filtering with "gaussian"t gaussiang ð?( t syst ost imgfilet getsizest errort __name__t argvt modulest __file__t splitt sept joinR t strt readt writet readscaledt ttobR ( t nameR R t outputfilet sizest ournamet partst imaget simage( ( s- /usr/local/lib/python2.5/test/test_imgfile.pyR sV % + + ( + -( t __doc__t test.test_supportR R R R R R R R ( ( ( s- /usr/local/lib/python2.5/test/test_imgfile.pys <module> s $ Z