Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c095956

Browse files
committed
merge 3.2
2 parents f3ac50b + a8d7037 commit c095956

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

Doc/library/socketserver.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ Server Objects
172172

173173
.. method:: BaseServer.shutdown()
174174

175-
Tell the :meth:`serve_forever` loop to stop and waits until it does.
175+
Tell the :meth:`serve_forever` loop to stop and wait until it does.
176176

177177

178178
.. attribute:: BaseServer.address_family

Lib/test/test_symtable.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ def test_lineno(self):
8080

8181
def test_function_info(self):
8282
func = self.spam
83-
self.assertEqual(func.get_parameters(), ("a", "b", "kw", "var"))
84-
self.assertEqual(func.get_locals(),
85-
("a", "b", "internal", "kw", "var", "x"))
86-
self.assertEqual(func.get_globals(), ("bar", "glob"))
83+
self.assertEqual(sorted(func.get_parameters()), ["a", "b", "kw", "var"])
84+
expected = ["a", "b", "internal", "kw", "var", "x"]
85+
self.assertEqual(sorted(func.get_locals()), expected)
86+
self.assertEqual(sorted(func.get_globals()), ["bar", "glob"])
8787
self.assertEqual(self.internal.get_frees(), ("x",))
8888

8989
def test_globals(self):

0 commit comments

Comments
 (0)