Issue #22777: Test pickling with all protocols.
diff --git a/Lib/test/audiotests.py b/Lib/test/audiotests.py
index f4abd2a..7ed0414 100644
--- a/Lib/test/audiotests.py
+++ b/Lib/test/audiotests.py
@@ -61,8 +61,9 @@
         self.assertEqual(params,
                 (nchannels, sampwidth, framerate, nframes, comptype, compname))
 
-        dump = pickle.dumps(params)
-        self.assertEqual(pickle.loads(dump), params)
+        for proto in range(pickle.HIGHEST_PROTOCOL + 1):
+            dump = pickle.dumps(params, proto)
+            self.assertEqual(pickle.loads(dump), params)
 
 
 class AudioWriteTests(AudioTests):