Use 'pragma: no cover' to exclude Windows-only and __main__ code