From 838a716a33845994bff584d6a46002f90273f5cb Mon Sep 17 00:00:00 2001 From: Nicholas Hemenway Date: Wed, 3 Apr 2024 07:43:26 -0500 Subject: [PATCH] run pre-commit tests to pass lint test --- pint_pandas/testsuite/test_issues.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pint_pandas/testsuite/test_issues.py b/pint_pandas/testsuite/test_issues.py index 6cb15f4..e3ff933 100644 --- a/pint_pandas/testsuite/test_issues.py +++ b/pint_pandas/testsuite/test_issues.py @@ -229,15 +229,15 @@ def test_dequantify(self): ) result = df.pint.dequantify() tm.assert_frame_equal(expected, result) - + + class TestIssue217(BaseExtensionTests): - def test_roundtrip(self): df = pd.DataFrame( { - 'power': pd.Series([1.0,2.0,3.0], dtype='pint[W]'), - 'torque': pd.Series([4.0,5.0,6.0], dtype='pint[N*m]'), - 'fruits': pd.Series(['apple', 'pear', 'kiwi']) + "power": pd.Series([1.0, 2.0, 3.0], dtype="pint[W]"), + "torque": pd.Series([4.0, 5.0, 6.0], dtype="pint[N*m]"), + "fruits": pd.Series(["apple", "pear", "kiwi"]), } ) df1 = df.pint.dequantify().pint.quantify(level=-1)