Skip to content

Commit

Permalink
Merge branch '372' into 431
Browse files Browse the repository at this point in the history
  • Loading branch information
Taylor Miller committed Nov 10, 2017
2 parents ec610c8 + 12e19b0 commit 697bc12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions healthcareai/tests/test_feature_availability_profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def setUp(self):
for i in range(1000):
random_second = randrange(int_delta)
admit[i] = pd.datetime(2015, 5, 1) + timedelta(seconds=random_second)
self.df['AdmitDTS'] = admit
self.df['AdmitDTS'] = admit.astype(np.datetime64)
# add nulls
a = np.random.rand(1000) > .5
self.df.loc[a, ['A']] = np.nan
Expand Down Expand Up @@ -91,7 +91,7 @@ def setUp(self):
random_second = randrange(int_delta)
admit[i] = pd.datetime(2015, 5, 1) + timedelta(
seconds=random_second)
self.df['AdmitDTS'] = admit
self.df['AdmitDTS'] = admit.astype(np.datetime64)

def runTest(self):
with self.assertRaises(HealthcareAIError) as error:
Expand Down

0 comments on commit 697bc12

Please sign in to comment.