Skip to content

Commit f0adf5d

Browse files
committed
Replace assertEquals with assertEqual
assertEquals was deprecated in Python 3.3 and finally removed in Python 3.12. Replacing it with `assertEqual`.
1 parent fcf3fed commit f0adf5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/swift_build_support/tests/test_build_graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ def test_simple_build_graph(self):
5454
selectedProducts = [products['swiftpm']]
5555
schedule = build_graph.produce_scheduled_build(selectedProducts)
5656
names = [x.name for x in schedule[0]]
57-
self.assertEquals(['cmark', 'llvm', 'swift', 'swiftpm'], names)
57+
self.assertEqual(['cmark', 'llvm', 'swift', 'swiftpm'], names)

0 commit comments

Comments
 (0)