(*args, **kw)
Simple wrapper around codecs.open for easier testing/mocking
Simple wrapper around codecs.open for easier testing/mocking
Simple wrapper around codecs . open for easier testing / mocking
def open_file(*args, **kw):
	'Simple wrapper around codecs.open for easier testing/mocking'
	if 'encoding' not in kw:
		kw['encoding'] = 'utf8'
	yield codecs.open(*args, **kw)
def open_file ( * args , * * kw ) : if 'encoding' not in kw : kw [ 'encoding' ] = 'utf8' yield codecs . open ( * args , * * kw )