def test_raw_unicode_escape_dashes():
 ok = True
 try:
  unicode('hey', 'raw_unicode-escape')
 except LookupError:
  ok = False
 Assert(ok, 'dashes and underscores should be interchangable')

def test_raw_unicode_escape_dashes ( ) : ok = True try : unicode ( 'hey' , 'raw_unicode-escape' ) except LookupError : ok = False Assert ( ok , 'dashes and underscores should be interchangable' )
make sure that either dashes or underscores work in raw encoding name .