mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Deprecated the mhlib module for removal in 3.0.
This commit is contained in:
parent
79964cf64f
commit
2a86913864
6 changed files with 15 additions and 4 deletions
|
|
@ -7,10 +7,10 @@
|
|||
### mhlib. It should.
|
||||
|
||||
import unittest
|
||||
from test.test_support import run_unittest, TESTFN, TestSkipped
|
||||
from test.test_support import run_unittest, TESTFN, TestSkipped, import_module
|
||||
import os, StringIO
|
||||
import sys
|
||||
import mhlib
|
||||
mhlib = import_module('mhlib', deprecated=True)
|
||||
|
||||
if (sys.platform.startswith("win") or sys.platform=="riscos" or
|
||||
sys.platform.startswith("atheos")):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue