TST: resolve issues with test_constructor_dtype_datetime64
closes #24827
xref https://github.com/pandas-dev/pandas/pull/24812#discussion_r248666576

while changing pytest.raises to use the context manager and check the error message it appeared that a test was not raising exceptions as originally intended.

the test was related to a legacy numpy related issue #3414