Skip to content

Commit c206386

Browse files
committed
skip test_warnings_on_cleanup due to gc
1 parent a8f8e23 commit c206386

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

graalpython/lib-python/3/test/test_tempfile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
import unittest
1717
from test import support
18-
from test.support import script_helper
18+
from test.support import script_helper, impl_detail
1919

2020

2121
has_textmode = (tempfile._text_openflags != tempfile._bin_openflags)
@@ -1446,6 +1446,7 @@ def generator():
14461446
self.assertNotIn("Exception ", err)
14471447
self.assertIn("ResourceWarning: Implicitly cleaning up", err)
14481448

1449+
@impl_detail("finalization", graalvm=False)
14491450
def test_warnings_on_cleanup(self):
14501451
# ResourceWarning will be triggered by __del__
14511452
with self.do_create() as dir:

0 commit comments

Comments
 (0)