Skip to content

Commit 756a96d

Browse files
committed
test_type.test_flags typo in test definition
1 parent a676629 commit 756a96d

File tree

1 file changed

+3
-3
lines changed
  • graalpython/com.oracle.graal.python.test/src/tests

1 file changed

+3
-3
lines changed

graalpython/com.oracle.graal.python.test/src/tests/test_type.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
# SOFTWARE.
3939

4040
import sys
41-
import unittest
41+
from unittest import skipIf
4242

4343

4444
def assert_raises(err, fn, *args, **kwargs):
@@ -188,8 +188,8 @@ def test_isinstance_non_type():
188188
assert isinstance(1, typing.AbstractSet) is False
189189

190190

191-
@unittest.skipIf(sys.implementation.name == 'cpython' and sys.version_info[0:2] < (3, 8), "skipping for cPython versions < 3.8")
192-
class test_flags():
191+
@skipIf(sys.implementation.name == 'cpython' and sys.version_info[0:2] < (3, 8), "skipping for cPython versions < 3.8")
192+
def test_flags():
193193
import functools
194194

195195
def testfunction(self):

0 commit comments

Comments
 (0)