Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.

Commit

Permalink
skip test for BranchBuilder for python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiSakuma committed May 17, 2018
1 parent a2e2586 commit c922848
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tests/unit/roottree/test_BranchBuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,15 @@
from alphatwirl.roottree import BranchAddressManagerForVector

##__________________________________________________________________||
pytestmark = pytest.mark.skipif(has_no_ROOT, reason="has no ROOT")
pytestmark = pytest.mark.skipif(
has_no_ROOT or sys.version_info[0]!=2,
reason='has no ROOT or Python 3'
)

# if uncomment both, only the bottom is in effect
# pytestmark = pytest.mark.skipif(has_no_ROOT, reason="has no ROOT")
# pytestmark = pytest.mark.skipif(sys.version_info[0]!=2, reason="skip for Python 3")


##__________________________________________________________________||
class MockLeaf(object):
Expand Down

0 comments on commit c922848

Please sign in to comment.