Skip to content

Commit 7be1ce9

Browse files
committed
Skip test relying on implementation sizes
1 parent de43a0d commit 7be1ce9

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

graalpython/com.oracle.graal.python.test/src/tests/unittest_tags/test_types.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
*graalpython.lib-python.3.test.test_types.TypesTests.test_format_spec_errors
5858
*graalpython.lib-python.3.test.test_types.TypesTests.test_int__format__
5959
*graalpython.lib-python.3.test.test_types.TypesTests.test_int__format__locale
60+
*graalpython.lib-python.3.test.test_types.TypesTests.test_internal_sizes
6061
*graalpython.lib-python.3.test.test_types.TypesTests.test_normal_integers
6162
*graalpython.lib-python.3.test.test_types.TypesTests.test_numeric_types
6263
*graalpython.lib-python.3.test.test_types.TypesTests.test_strings

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Python test set -- part 6, built-in types
22

33
from test.support import run_with_locale
4+
from test import support
45
import collections.abc
56
import inspect
67
import pickle
@@ -572,6 +573,7 @@ def test_format_spec_errors(self):
572573
for code in 'xXobns':
573574
self.assertRaises(ValueError, format, 0, ',' + code)
574575

576+
@support.impl_detail(graalvm=False)
575577
def test_internal_sizes(self):
576578
self.assertGreater(object.__basicsize__, 0)
577579
self.assertGreater(tuple.__itemsize__, 0)

0 commit comments

Comments
 (0)