mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Merged revisions 79100 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r79100 | florent.xicluna | 2010-03-19 19:34:55 +0100 (ven, 19 mar 2010) | 2 lines Various tests cleanup: check_warnings/check_py3k_warnings, unittest.assert* and setUp/tearDown. ........
This commit is contained in:
parent
fb60f8002c
commit
9b86b9a086
8 changed files with 75 additions and 80 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