#NEWLINE# def test_dateformat( self ) : #NEWLINE# #INDENT# my_birthday = datetime ( 1979 , 7 , 8 , 22 , 0 ) #NEWLINE# self . assertEqual ( dateformat . format ( self , 'Y z \\C\\E\\T' ) , '1979 189 CET' ) #NEWLINE# self . assertEqual ( dateformat . format ( my_birthday , 'jS \\o\\f F' ) , '8th of July' )