mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
Update test_dynamicclassattribute.py from 3.14.3
This commit is contained in:
committed by
Jeong, YunWon
parent
ae8c0b3a93
commit
367aff93f0
4
Lib/test/test_dynamicclassattribute.py
vendored
4
Lib/test/test_dynamicclassattribute.py
vendored
@@ -104,8 +104,8 @@ class PropertyTests(unittest.TestCase):
|
||||
self.assertEqual(base.spam, 10)
|
||||
self.assertEqual(base._spam, 10)
|
||||
delattr(base, "spam")
|
||||
self.assertTrue(not hasattr(base, "spam"))
|
||||
self.assertTrue(not hasattr(base, "_spam"))
|
||||
self.assertNotHasAttr(base, "spam")
|
||||
self.assertNotHasAttr(base, "_spam")
|
||||
base.spam = 20
|
||||
self.assertEqual(base.spam, 20)
|
||||
self.assertEqual(base._spam, 20)
|
||||
|
||||
Reference in New Issue
Block a user