Fixed expected warning message on 2.7.  #229
Merge branch 'issue229' into devel