@@ -874,26 +874,30 @@ def test_flags(self):
874874 self .assertEqual (Plain .__flags__ & Py_TPFLAGS_MANAGED_DICT , Py_TPFLAGS_MANAGED_DICT )
875875 self .assertEqual (WithAttrs .__flags__ & Py_TPFLAGS_MANAGED_DICT , Py_TPFLAGS_MANAGED_DICT )
876876
877- @cpython_only
877+ # TODO: RUSTPYTHON
878+ @unittest .expectedFailure
878879 def test_has_inline_values (self ):
879880 c = Plain ()
880881 self .assertTrue (has_inline_values (c ))
881882 del c .__dict__
882883 self .assertFalse (has_inline_values (c ))
883884
884- @cpython_only
885+ # TODO: RUSTPYTHON
886+ @unittest .expectedFailure
885887 def test_instances (self ):
886888 self .assertTrue (has_inline_values (Plain ()))
887889 self .assertTrue (has_inline_values (WithAttrs ()))
888890
889- @cpython_only
891+ # TODO: RUSTPYTHON
892+ @unittest .expectedFailure
890893 def test_inspect_dict (self ):
891894 for cls in (Plain , WithAttrs ):
892895 c = cls ()
893896 c .__dict__
894897 self .assertTrue (has_inline_values (c ))
895898
896- @cpython_only
899+ # TODO: RUSTPYTHON
900+ @unittest .expectedFailure
897901 def test_update_dict (self ):
898902 d = { "e" : 5 , "f" : 6 }
899903 for cls in (Plain , WithAttrs ):
@@ -910,7 +914,8 @@ def check_100(self, obj):
910914 for i in range (100 ):
911915 self .assertEqual (getattr (obj , f"a{ i } " ), i )
912916
913- @cpython_only
917+ # TODO: RUSTPYTHON
918+ @unittest .expectedFailure
914919 def test_many_attributes (self ):
915920 class C : pass
916921 c = C ()
@@ -921,7 +926,8 @@ class C: pass
921926 c = C ()
922927 self .assertTrue (has_inline_values (c ))
923928
924- @cpython_only
929+ # TODO: RUSTPYTHON
930+ @unittest .expectedFailure
925931 def test_many_attributes_with_dict (self ):
926932 class C : pass
927933 c = C ()
0 commit comments