From 3984f170ff5497b631d69540ba70165856a0de1f Mon Sep 17 00:00:00 2001 From: David Rodriguez Date: Wed, 11 Dec 2024 13:41:55 -0500 Subject: [PATCH] removing un-used test --- tests/test_database.py | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/tests/test_database.py b/tests/test_database.py index 787317d..131cd14 100644 --- a/tests/test_database.py +++ b/tests/test_database.py @@ -202,22 +202,3 @@ def test_coordinates(db): print(t) assert len(t) == 0, f"{len(t)} Sources failed coordinate checks" - - -def test_sig_figs_parallax(db): - # verify that the precision on parallax isn't greater than the error's precision - t = ( - db.query(db.Parallaxes.c.parallax_mas, db.Parallaxes.c.parallax_error) - .astropy() - ) - # create empty table to add the results to - - - wrong_sig_figs = [] - for i in t: - parallax_sig_figs = count_significant_digits(i['parallax_mas']) - error_sig_figs = count_significant_digits(i['parallax_error']) - - if error_sig_figs >= parallax_sig_figs: - wrong_sig_figs.append(i) - assert len(wrong_sig_figs)==0, f"Parallax error has fewer significant figures than parallax for these sources: {wrong_sig_figs}"