No. Having professional swimming background is not required when taking a pilot test. There are some airlines, however, that require their pilots and cabin crew to take swimming assessments, with the purpose of proving that they are confident in the water. In case you want to learn and improve this particular skill, you can also turn to Airtasker for nearby swimming lessons. From there, you’ll learn how to swim and tread water confidently without any floating or supporting devices.