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_rfc822.pyo |
³ò h”Rc @ s¬ d d k Z d d k Z d d k Z d d k l Z y d d k l Z Wn# e j o d d k l Z n Xd e i f d „ ƒ YZ d „ Z e d j o e ƒ n d S( iÿÿÿÿN( t test_support( t StringIOt MessageTestCasec B s˜ e Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C s t i t | ƒ ƒ S( N( t rfc822t MessageR ( t selft msg( ( s, /usr/local/lib/python2.5/test/test_rfc822.pyt create_message s c C s† | i d ƒ } | i | i d ƒ d j ƒ | i | i d ƒ d j ƒ | i | i d ƒ d j ƒ | i | i d d ƒ d j ƒ d S( Ns) To: "last, first" <userid@foo.net> test t tos "last, first" <userid@foo.net>t TOs No-Such-Headers No-Such-Value( R t assert_t gett None( R R ( ( s, /usr/local/lib/python2.5/test/test_rfc822.pyt test_get s c C s² | i d ƒ } | i | i d ƒ ƒ | i | i d d ƒ d j ƒ | i | i d d ƒ d j ƒ | i | d d j ƒ | i | i d ƒ d j ƒ | i | d d j ƒ d S( Ns) To: "last, first" <userid@foo.net> test s New-Headers New-Values Different-Values new-headers Another-Headert s another-header( R R t has_keyt setdefault( R R ( ( s, /usr/local/lib/python2.5/test/test_rfc822.pyt test_setdefault s c C sE | i | ƒ } d } xü | i d ƒ | i d ƒ D]Þ \ } } y! | | d | | d } } Wn/ t j o# d Gt | ƒ Gt | ƒ GHq2 n X| d } | i | | d | | f ƒ | i | | d | | f ƒ | | j o | | j o q2 d Gt | ƒ Gt | ƒ GHq2 W| i d ƒ } | o | i | d d ƒ n d S( s Check addresses and the date.i R t cci s extra parsed address:s Un-expected name: %s != %ss Un-expected address: %s != %ss not found:t dateiÏ i i i9 i# s date conversion failedN( iÏ i i i i9 i# i i i ( R t getaddrlistt IndexErrort reprt assertEqualt getdate( R R t resultst mt it nt at mnt mat out( ( s, /usr/local/lib/python2.5/test/test_rfc822.pyt check% s, ! c C s› | i d d g ƒ | i d d g ƒ | i d d d g ƒ | i d d g ƒ | i d d d! d"