PY3: fix exception syntax in tests/test_common.py
PY3 fix test_cross_validation
PY3 fix OneHotEncoder doctest ( "<type 'float'>" is "<class 'float'>" in Python 3.x)
Merge pull request #1812 from kmike/testing-fixes

Some Python 3.x-related testing fixes