Fix two usage examples on Windows.

The numpy.shape print in windows printed (0L,) and not (0,) due to the
different representations on the different platforms.

Refs #10002
Merge branch 'bugfix/10002_fix_tests_win_debug' into develop