diff options
author | Éric Araujo <merwok@netwok.org> | 2011-03-26 00:55:15 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-03-26 00:55:15 (GMT) |
commit | be3bd57ba22f7bda63dc0215b49b993a530e6145 (patch) | |
tree | a87174ae1006793d5c800a9374d911bfe9daa89b /Lib/test | |
parent | 79fe2a3462f2f9a18092adc88791d332f1e724bb (diff) | |
download | cpython-be3bd57ba22f7bda63dc0215b49b993a530e6145.zip cpython-be3bd57ba22f7bda63dc0215b49b993a530e6145.tar.gz cpython-be3bd57ba22f7bda63dc0215b49b993a530e6145.tar.bz2 |
Remove traces of division_warning left over from Python 2 (#10998)
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_cmd_line.py | 6 | ||||
-rw-r--r-- | Lib/test/test_sys.py | 2 |
2 files changed, 1 insertions, 7 deletions
diff --git a/Lib/test/test_cmd_line.py b/Lib/test/test_cmd_line.py index a0a85ae..57508c7 100644 --- a/Lib/test/test_cmd_line.py +++ b/Lib/test/test_cmd_line.py @@ -31,12 +31,6 @@ class CmdLineTest(unittest.TestCase): self.verify_valid_flag('-O') self.verify_valid_flag('-OO') - def test_q(self): - self.verify_valid_flag('-Qold') - self.verify_valid_flag('-Qnew') - self.verify_valid_flag('-Qwarn') - self.verify_valid_flag('-Qwarnall') - def test_site_flag(self): self.verify_valid_flag('-S') diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index d412e67..e18019c 100644 --- a/Lib/test/test_sys.py +++ b/Lib/test/test_sys.py @@ -501,7 +501,7 @@ class SysModuleTest(unittest.TestCase): def test_sys_flags(self): self.assertTrue(sys.flags) - attrs = ("debug", "division_warning", + attrs = ("debug", "inspect", "interactive", "optimize", "dont_write_bytecode", "no_user_site", "no_site", "ignore_environment", "verbose", "bytes_warning", "quiet") |