test write for pythonic branch