From 746bebd1e84d8945a3491e1ae5e44102ff534592 Mon Sep 17 00:00:00 2001 From: Karthikeyan Singaravelan Date: Tue, 26 Oct 2021 04:39:25 +0000 Subject: [PATCH] Refactor deprecated unittest aliases for Python 3.11 compatibility. --- test/test_encoding.py | 2 +- test/test_read_support.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/test_encoding.py b/test/test_encoding.py index 6f777970..8dfa59af 100644 --- a/test/test_encoding.py +++ b/test/test_encoding.py @@ -34,7 +34,7 @@ def test_int96(self): def test_float(self): """Test reading bytes containing float data.""" - self.assertAlmostEquals( + self.assertAlmostEqual( 9.99, parquet.encoding.read_plain_float( io.BytesIO(struct.pack(b"