mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
Deprecate the fpformat module for removal in 3.0.
This commit is contained in:
parent
e35a3a1d6b
commit
fe5985188d
5 changed files with 14 additions and 3 deletions
|
@ -2,9 +2,10 @@
|
|||
Tests for fpformat module
|
||||
Nick Mathewson
|
||||
'''
|
||||
from test.test_support import run_unittest
|
||||
from test.test_support import run_unittest, import_module
|
||||
import unittest
|
||||
from fpformat import fix, sci, NotANumber
|
||||
fpformat = import_module('fpformat', deprecated=True)
|
||||
fix, sci, NotANumber = fpformat.fix, fpformat.sci, fpformat.NotANumber
|
||||
|
||||
StringType = type('')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue