mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fixed several assertTrue() that were intended to be assertEqual(). (GH-8191)
Fixed also testing the "always" warning filter.
This commit is contained in:
parent
c287545d62
commit
b796e7dcdc
6 changed files with 13 additions and 9 deletions
|
@ -264,7 +264,7 @@ class TestSupport(unittest.TestCase):
|
|||
with support.temp_cwd(name=TESTFN):
|
||||
self.assertEqual(os.path.basename(os.getcwd()), TESTFN)
|
||||
self.assertFalse(os.path.exists(TESTFN))
|
||||
self.assertTrue(os.path.basename(os.getcwd()), here)
|
||||
self.assertEqual(os.getcwd(), here)
|
||||
|
||||
|
||||
def test_temp_cwd__name_none(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue