Skip to content

Commit

Permalink
skip tests for 2.7 and 3.11 respectively, as features are dropped
Browse files Browse the repository at this point in the history
  • Loading branch information
wlav committed Jun 25, 2022
1 parent a34f56c commit 69e8fa3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test_fragile.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,10 @@ def test17_interactive(self):
"""Test the usage of 'from cppyy.interactive import *'"""

import sys

if 0x030b0000 <= sys.hexversion:
py.test.skip('"from cppyy.interactive import *" is no longer supported')

oldsp = sys.path[:]
sys.path.append('.')
try:
Expand Down
3 changes: 3 additions & 0 deletions test/test_leakcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,9 @@ def test05_aggregates(self):
def test06_dir(self):
"""Global function uploads used to cause more function generation"""

if sys.hexversion < 0x03000000:
py.test.skip("too slow on py2 and won't be fixed as py2 has reached eol")

import cppyy

self.check_func(cppyy.gbl, '__dir__', cppyy.gbl)

0 comments on commit 69e8fa3

Please sign in to comment.