We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f180a8 commit 5cd443bCopy full SHA for 5cd443b
cogsworth/tests/test_pop.py
@@ -532,11 +532,11 @@ def test_translation(self):
532
p.perform_stellar_evolution()
533
p.translate_tables(replace_columns=False, label_type="short")
534
535
- self.assertTrue(p.bpp["kstar_1"].dtype == np.float64)
+ self.assertTrue(p.bpp["kstar_1"].dtype == np.int64)
536
self.assertTrue((p.bpp["kstar_1_str"][p.bpp["kstar_1"] == 1] == "MS").all())
537
538
p.translate_tables(replace_columns=True)
539
- self.assertFalse(p.bpp["kstar_1"].dtype == np.float64)
+ self.assertFalse(p.bpp["kstar_1"].dtype == np.int64)
540
541
def test_cartoon(self):
542
"""Ensure that the cartoon plot works"""
0 commit comments