def test_dirname():
 got = io.FileSystem.dirname('/path/to/filename.jpg')
 assert_equals(got, '/path/to')

def test_dirname ( ) : got = io . FileSystem . dirname ( '/path/to/filename.jpg' ) assert_equals ( got , '/path/to' )
return the absolute path to the orange .