This practice actually continued into the modern era, because often it had a solid basis. For example, until chemical blood sugar tests became routinely available in the mid-20th century, medical doctors sometimes diagnosed diabetes mellitus by tasting urine for sweetness.