this is not an AssertionError, this should be TypeError and could use a brief test.