diff options
| author | Brett Cannon <bcannon@gmail.com> | 2008-05-08 20:23:06 (GMT) |
|---|---|---|
| committer | Brett Cannon <bcannon@gmail.com> | 2008-05-08 20:23:06 (GMT) |
| commit | be1501b976aa36733e6ef0b86c4f8c6844df3181 (patch) | |
| tree | f81f3c506db1a12f56afa59b0c7dbb7e5ab810dd /Lib | |
| parent | 98b9c07ab76c7fa0b77c3cb683ab92c49ef3bbdc (diff) | |
| download | cpython-be1501b976aa36733e6ef0b86c4f8c6844df3181.zip cpython-be1501b976aa36733e6ef0b86c4f8c6844df3181.tar.gz cpython-be1501b976aa36733e6ef0b86c4f8c6844df3181.tar.bz2 | |
Fix sys.flags to properly expose bytes_warning.
Closes issue #2790.
Diffstat (limited to 'Lib')
| -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 8befe75..975795a 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) |
