diff options
author | Zackery Spytz <zspytz@gmail.com> | 2018-12-17 14:52:45 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2018-12-17 14:52:45 (GMT) |
commit | 842acaab1376c5c84fd5966bb6070e289880e1ca (patch) | |
tree | f21283245b7e349d05482b89fde8d570b33c53ab /Lib/sqlite3 | |
parent | 4db62e115891425db2a974142a72d8eaaf95eecb (diff) | |
download | cpython-842acaab1376c5c84fd5966bb6070e289880e1ca.zip cpython-842acaab1376c5c84fd5966bb6070e289880e1ca.tar.gz cpython-842acaab1376c5c84fd5966bb6070e289880e1ca.tar.bz2 |
bpo-35504: Fix segfaults and SystemErrors when deleting certain attrs. (GH-11175)
Diffstat (limited to 'Lib/sqlite3')
-rw-r--r-- | Lib/sqlite3/test/regression.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/sqlite3/test/regression.py b/Lib/sqlite3/test/regression.py index 1c59a3c..865bd88 100644 --- a/Lib/sqlite3/test/regression.py +++ b/Lib/sqlite3/test/regression.py @@ -379,6 +379,10 @@ class RegressionTests(unittest.TestCase): del ref support.gc_collect() + def CheckDelIsolation_levelSegfault(self): + with self.assertRaises(AttributeError): + del self.con.isolation_level + class UnhashableFunc: __hash__ = None |