mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
#7092: silence py3k warnings for deprecated modules
This commit is contained in:
parent
75d3fb1ebb
commit
a2d4653740
14 changed files with 47 additions and 30 deletions
|
|
@ -4,12 +4,13 @@ test_support.requires('audio')
|
|||
from test.test_support import findfile, run_unittest
|
||||
|
||||
import errno
|
||||
linuxaudiodev = test_support.import_module('linuxaudiodev', deprecated=True)
|
||||
import sys
|
||||
import sunaudio
|
||||
import audioop
|
||||
import unittest
|
||||
|
||||
linuxaudiodev = test_support.import_module('linuxaudiodev', deprecated=True)
|
||||
sunaudio = test_support.import_module('sunaudio', deprecated=True)
|
||||
|
||||
SND_FORMAT_MULAW_8 = 1
|
||||
|
||||
class LinuxAudioDevTests(unittest.TestCase):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue