def cxOracle_py3_bug(func):
 from unittest import expectedFailure
 from django.db import connection
 return (expectedFailure(func) if (connection.vendor == 'oracle') else func)

def cxOracle_py3_bug ( func ) : from unittest import expectedFailure from django . db import connection return ( expectedFailure ( func ) if ( connection . vendor == 'oracle' ) else func )
theres a bug in django/cx_oracle with respect to string handling under python 3 .