mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
Update tests and whatsnew for the 'quiet' flag
This commit is contained in:
parent
90e8f8cd9b
commit
7d967712b8
2 changed files with 9 additions and 2 deletions
|
@ -501,7 +501,7 @@ class SysModuleTest(unittest.TestCase):
|
|||
attrs = ("debug", "division_warning",
|
||||
"inspect", "interactive", "optimize", "dont_write_bytecode",
|
||||
"no_user_site", "no_site", "ignore_environment", "verbose",
|
||||
"bytes_warning")
|
||||
"bytes_warning", "quiet")
|
||||
for attr in attrs:
|
||||
self.assertTrue(hasattr(sys.flags, attr), attr)
|
||||
self.assertEqual(type(getattr(sys.flags, attr)), int, attr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue