[3.10] bpo-46345: Add a test case for implicit Optional class attribute (GH-30535)
#30567
+6
−0
Optional class attribute (GH-30535)
#30567