diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-05-08 20:23:06 +0000 |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-05-08 20:23:06 +0000 |
commit | be1501b976aa36733e6ef0b86c4f8c6844df3181 (patch) | |
tree | f81f3c506db1a12f56afa59b0c7dbb7e5ab810dd /Lib/test/test_sys.py | |
parent | 98b9c07ab76c7fa0b77c3cb683ab92c49ef3bbdc (diff) | |
download | cpython-git-be1501b976aa36733e6ef0b86c4f8c6844df3181.tar.gz |
Fix sys.flags to properly expose bytes_warning.
Closes issue #2790.
Diffstat (limited to 'Lib/test/test_sys.py')
-rw-r--r-- | Lib/test/test_sys.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index 8befe7587e..975795a8ef 100644 --- a/Lib/test/test_sys.py +++ b/Lib/test/test_sys.py @@ -357,7 +357,7 @@ class SysModuleTest(unittest.TestCase): attrs = ("debug", "py3k_warning", "division_warning", "division_new", "inspect", "interactive", "optimize", "dont_write_bytecode", "no_site", "ignore_environment", "tabcheck", "verbose", - "unicode") + "unicode", "bytes_warning") for attr in attrs: self.assert_(hasattr(sys.flags, attr), attr) self.assertEqual(type(getattr(sys.flags, attr)), int, attr) |