Fix date unit test

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@22781 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
Unit test python3 fixes

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/trunk@22783 4ae1f11a-8b86-4847-b8af-ab372f36d1fd