= = = = = = = = = = = = = = = = = = = = = = = = = = = = =   t e s t   s e s s i o n   s t a r t s   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 p l a t f o r m   w i n 3 2   - -   P y t h o n   3 . 1 3 . 9 ,   p y t e s t - 8 . 4 . 2 ,   p l u g g y - 1 . 5 . 0   - -   C : \ U s e r s \ S a i A j a y A r e t i \ a n a c o n d a 3 \ p y t h o n . e x e 
 
 c a c h e d i r :   . p y t e s t _ c a c h e 
 
 r o o t d i r :   C : \ c h a t b o t - b u i l d e r 
 
 c o n f i g f i l e :   p y p r o j e c t . t o m l 
 
 p l u g i n s :   a n y i o - 4 . 1 0 . 0 ,   l a n g s m i t h - 0 . 1 1 . 0 ,   a s y n c i o - 1 . 4 . 0 
 
 a s y n c i o :   m o d e = M o d e . S T R I C T ,   d e b u g = F a l s e ,   a s y n c i o _ d e f a u l t _ f i x t u r e _ l o o p _ s c o p e = N o n e ,   a s y n c i o _ d e f a u l t _ t e s t _ l o o p _ s c o p e = f u n c t i o n 
 
 c o l l e c t i n g   . . .   c o l l e c t e d   1   i t e m 
 
 
 
 t e s t s / t e s t _ p h a s e 6 . p y : : T e s t D o c u m e n t L o a d e r s : : t e s t _ t e x t _ l o a d e r   F A I L E D               [ 1 0 0 % ] 
 
 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   F A I L U R E S   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _   T e s t D o c u m e n t L o a d e r s . t e s t _ t e x t _ l o a d e r   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
 
 
 
 s e l f   =   < t e s t s . t e s t _ p h a s e 6 . T e s t D o c u m e n t L o a d e r s   o b j e c t   a t   0 x 0 0 0 0 0 2 4 5 2 5 E 0 8 E 1 0 > 
 
 s a m p l e _ t e x t _ c o n t e n t   =   ' M a c h i n e   l e a r n i n g   i s   a   s u b s e t   o f   a r t i f i c i a l   i n t e l l i g e n c e   t h a t   f o c u s e s   o n   t h e   a b i l i t y   o f   c o m p u t e r s   t o   l e a r n   f r o m   d a t a . \ . . . p r o c e s s i n g   i s   a   f i e l d   o f   a r t i f i c i a l   i n t e l l i g e n c e   t h a t   f o c u s e s   o n   t h e   i n t e r a c t i o n   b e t w e e n   c o m p u t e r s   a n d   h u m a n   l a n g u a g e . ' 
 
 
 
         @ p y t e s t . m a r k . a s y n c i o 
 
         a s y n c   d e f   t e s t _ t e x t _ l o a d e r ( s e l f ,   s a m p l e _ t e x t _ c o n t e n t :   s t r )   - >   N o n e : 
 
                 " " " T e x t L o a d e r   c a n   l o a d   t e x t   f i l e s . " " " 
 
                 w i t h   t e m p f i l e . N a m e d T e m p o r a r y F i l e ( 
 
                         m o d e = " w " ,   s u f f i x = " . t x t " ,   d e l e t e = F a l s e 
 
                 )   a s   f : 
 
                         f . w r i t e ( s a m p l e _ t e x t _ c o n t e n t ) 
 
                         f . f l u s h ( ) 
 
         
 
                         l o a d e r   =   T e x t L o a d e r ( ) 
 
                         d o c s   =   a w a i t   l o a d e r . l o a d ( f . n a m e ) 
 
         
 
                         a s s e r t   l e n ( d o c s )   = =   1 
 
                         a s s e r t   d o c s [ 0 ] . c o n t e n t   = =   s a m p l e _ t e x t _ c o n t e n t 
 
                         a s s e r t   d o c s [ 0 ] . m e t a d a t a [ " f i l e _ t y p e " ]   = =   " t e x t " 
 
         
 
 >                       P a t h ( f . n a m e ) . u n l i n k ( ) 
 
 
 
 t e s t s \ t e s t _ p h a s e 6 . p y : 1 4 5 :   
 
 _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _   _ 
 
 
 
 s e l f   =   W i n d o w s P a t h ( ' C : / U s e r s / S A I A J A ~ 1 / A p p D a t a / L o c a l / T e m p / t m p e 5 x z j 1 j 7 . t x t ' ) 
 
 m i s s i n g _ o k   =   F a l s e 
 
 
 
         d e f   u n l i n k ( s e l f ,   m i s s i n g _ o k = F a l s e ) : 
 
                 " " " 
 
                 R e m o v e   t h i s   f i l e   o r   l i n k . 
 
                 I f   t h e   p a t h   i s   a   d i r e c t o r y ,   u s e   r m d i r ( )   i n s t e a d . 
 
                 " " " 
 
                 t r y : 
 
 >                       o s . u n l i n k ( s e l f ) 
 
 E                       P e r m i s s i o n E r r o r :   [ W i n E r r o r   3 2 ]   T h e   p r o c e s s   c a n n o t   a c c e s s   t h e   f i l e   b e c a u s e   i t   i s   b e i n g   u s e d   b y   a n o t h e r   p r o c e s s :   ' C : \ \ U s e r s \ \ S A I A J A ~ 1 \ \ A p p D a t a \ \ L o c a l \ \ T e m p \ \ t m p e 5 x z j 1 j 7 . t x t ' 
 
 
 
 C : \ U s e r s \ S a i A j a y A r e t i \ a n a c o n d a 3 \ L i b \ p a t h l i b \ _ l o c a l . p y : 7 4 6 :   P e r m i s s i o n E r r o r 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   w a r n i n g s   s u m m a r y   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 s r c \ c h a t b o t _ f r a m e w o r k \ m o d e l s \ r a g . p y : 8 
 
     C : \ c h a t b o t - b u i l d e r \ s r c \ c h a t b o t _ f r a m e w o r k \ m o d e l s \ r a g . p y : 8 :   P y d a n t i c D e p r e c a t e d S i n c e 2 0 :   S u p p o r t   f o r   c l a s s - b a s e d   ` c o n f i g `   i s   d e p r e c a t e d ,   u s e   C o n f i g D i c t   i n s t e a d .   D e p r e c a t e d   i n   P y d a n t i c   V 2 . 0   t o   b e   r e m o v e d   i n   V 3 . 0 .   S e e   P y d a n t i c   V 2   M i g r a t i o n   G u i d e   a t   h t t p s : / / e r r o r s . p y d a n t i c . d e v / 2 . 1 2 / m i g r a t i o n / 
 
         c l a s s   D o c u m e n t ( B a s e M o d e l ) : 
 
 
 
 - -   D o c s :   h t t p s : / / d o c s . p y t e s t . o r g / e n / s t a b l e / h o w - t o / c a p t u r e - w a r n i n g s . h t m l 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = =   s h o r t   t e s t   s u m m a r y   i n f o   = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 F A I L E D   t e s t s / t e s t _ p h a s e 6 . p y : : T e s t D o c u m e n t L o a d e r s : : t e s t _ t e x t _ l o a d e r   -   P e r m i s s i . . . 
 
 = = = = = = = = = = = = = = = = = = = = = = = =   1   f a i l e d ,   1   w a r n i n g   i n   2 . 6 3 s   = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 