File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
graalpython/lib-python/3/test Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -785,6 +785,7 @@ def test_init(self):
785
785
# No exception should be raised here
786
786
gc .collect ()
787
787
788
+ @support .impl_detail ("weakref nondeterministic" , graalvm = False )
788
789
def test_classes (self ):
789
790
# Check that classes are weakrefable.
790
791
class A (object ):
@@ -1050,6 +1051,7 @@ def test_method_dead(self):
1050
1051
gc .collect ()
1051
1052
self .assertIs (r (), None )
1052
1053
1054
+ @support .impl_detail ("weakref nondeterministic" , graalvm = False )
1053
1055
def test_callback_when_object_dead (self ):
1054
1056
# Test callback behaviour when object dies first.
1055
1057
C = self ._subclass ()
@@ -1131,6 +1133,7 @@ def _ne(a, b):
1131
1133
self .assertEqual (q == r , q is r )
1132
1134
self .assertEqual (q != r , q is not r )
1133
1135
1136
+ @support .impl_detail ("weakref nondeterministic" , graalvm = False )
1134
1137
def test_hashing (self ):
1135
1138
# Alive WeakMethods are hashable if the underlying object is
1136
1139
# hashable.
You can’t perform that action at this time.
0 commit comments