mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
Update test_property.py from 3.14.3
This commit is contained in:
committed by
Jeong, YunWon
parent
be43458579
commit
4ab7c38c90
4
Lib/test/test_property.py
vendored
4
Lib/test/test_property.py
vendored
@@ -87,8 +87,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