mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
Various tests cleanup: check_warnings/check_py3k_warnings, unittest.assert* and setUp/tearDown.
This commit is contained in:
parent
4854c969fb
commit
bc27c6a5aa
10 changed files with 89 additions and 91 deletions
|
@ -12,7 +12,7 @@ class TestGetProfile(unittest.TestCase):
|
|||
sys.setprofile(None)
|
||||
|
||||
def test_empty(self):
|
||||
assert sys.getprofile() == None
|
||||
assert sys.getprofile() is None
|
||||
|
||||
def test_setget(self):
|
||||
def fn(*args):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue