#NEWLINE# def test_two_locals( self ) : #NEWLINE# #INDENT# 'Ensures that two locals in the same thread have separate dicts.' #NEWLINE# first = local ( ) #NEWLINE# first . x = 7 #NEWLINE# second = local ( ) #NEWLINE# second . x = 12 #NEWLINE# self . assertEquals ( 7 , first . x ) #NEWLINE# self . assertEquals ( 12 , second . x )