AMBARI-7832. Python tests fail on Python 2.6 (dlysnichenko)