def test_unit_normalization():
 header = get_pkg_data_contents(u'data/unit.hdr', encoding=u'binary')
 w = wcs.WCS(header)
 assert (w.wcs.cunit[2] == u'm/s')

def test_unit_normalization ( ) : header = get_pkg_data_contents ( u'data/unit.hdr' , encoding = u'binary' ) w = wcs . WCS ( header ) assert ( w . wcs . cunit [ 2 ] == u'm/s' )
from github issue #1918 .