Skip to main content
Sign in
Snippets Groups Projects
Commit f386fcce authored by Jan Petermann's avatar Jan Petermann
Browse files

change assertEquals to asserEqual due to deprecation

parent d1157352
No related branches found
No related tags found
No related merge requests found
......@@ -1250,7 +1250,7 @@ class TestDataContainer(unittest.TestCase):
result = DataContainer.from_csv(filename)
self.assertIsInstance(result, DataContainer)
self.assertIsInstance(result.header, dict)
self.assertEquals(result.__repr__(), data.__repr__())
self.assertEqual(result.__repr__(), data.__repr__())
def test_json(self):
filename = f"{datadir}/TestCSV.csv"
......@@ -1268,7 +1268,7 @@ class TestDataContainer(unittest.TestCase):
result = DataContainer.from_json(filename)
self.assertIsInstance(result, DataContainer)
self.assertIsInstance(result.header, dict)
self.assertEquals(result.values.__repr__(), data.values.__repr__())
self.assertEqual(result.values.__repr__(), data.values.__repr__())
def test_combine_header(self):
self.base.header["Info"] = ("Test1", 4, "Test2")
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment