Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use assertEqual instead of assertEquals for Python 3.11 compatibility. #723

Merged
merged 1 commit into from
Oct 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Use assertEqual instead of assertEquals for Python 3.11 compatibility.
  • Loading branch information
tirkarthi committed Oct 23, 2021
commit ec6828b1ff61efa0bac1b5b3c8dd64094385a667
4 changes: 2 additions & 2 deletions petastorm/tests/test_run_in_subprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ class RunInSubprocessTest(unittest.TestCase):

def test_run_in_subprocess(self):
# Serialization of a built in function
self.assertEquals(run_in_subprocess(builtin_func), builtin_func())
self.assertEqual(run_in_subprocess(builtin_func), builtin_func())

# Arg passing
self.assertEquals(run_in_subprocess(multiply, 2, 3), 6)
self.assertEqual(run_in_subprocess(multiply, 2, 3), 6)

def test_partial_application(self):
unischema = Unischema('foo', [])
Expand Down