Enable testing in Python 3
Make sure to run the built brian2 package, not the source one (important
for Python 3)
Convert checks for isNumericType and isSequenceType into something
Python3-friendly.
Really check the test for number types and test it a bit more thoroughly
for different kinds of numpy scalars
Make itertools usage python3-ready.
Correct some print statements, do not insist on sympy 0.7.1 anymore
Make Dimension object hashable
Make ipython check work for python 3
Make sure the logger module encodes strings in a way that works with
Python 2 and 3
Do not run nosetests from the source directory to make sure it uses the
installed version of brian
Adapt doctests for python3-style print statements
Fail gracefully when weave is not available (it does not work for Python
3)
Do not implement __eq__ and __lt__ for clocks
Use operator.truediv instead of operator.div
Make sure to pass strings (not Expression objects) to sympy
Don't print the type of objects as part of doctests (format changes from
Python 2 to 3)
Use the IGNORE_EXCEPTION_DETAIL directive for doctest that use a
non-builtin exception type (the Python3 output contains the module name
in this case while the Python2 output doesn't)