(self)
| 154 | @pytest.mark.skipif(not _has_pytz, |
| 155 | reason="The pytz module is not available.") |
| 156 | def test_datetime(self): |
| 157 | tz = pytz.timezone('US/Eastern') |
| 158 | dt = datetime.datetime(2000, 1, 1, 0, 0, tzinfo=tz) |
| 159 | self.assert_deprecated(np.datetime64, args=(dt,)) |
| 160 | |
| 161 | |
| 162 | class TestArrayDataAttributeAssignmentDeprecation(_DeprecationTestCase): |
nothing calls this directly
no test coverage detected