~madteam/mg5amcnlo/series2.0

« back to all changes in this revision

Viewing changes to tests/unit_tests/iolibs/test_export_fks_EW.py

  • Committer: olivier-mattelaer
  • Date: 2020-08-21 09:16:56 UTC
  • mfrom: (284.2.24 python3)
  • Revision ID: olivier-mattelaer-20200821091656-iizux2mj94tkssuo
pass to 2.8.0 (and move to python3 branch)

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
"""Unit test library for the export_FKS format routines"""
17
17
 
18
 
import StringIO
 
18
from __future__ import absolute_import
 
19
from __future__ import print_function
 
20
import six
 
21
StringIO = six
19
22
import copy
20
23
import fractions
21
24
import os 
22
25
import sys
 
26
from six.moves import zip
23
27
 
24
28
root_path = os.path.split(os.path.dirname(os.path.realpath( __file__ )))[0]
25
29
sys.path.append(os.path.join(root_path, os.path.pardir, os.path.pardir))
56
60
def PostponeToEW(f):
57
61
   @wraps(f)
58
62
   def postpone(*args,**opts):
59
 
     print "\n Test '%s' ignored as it should be fixed with mixed couplings expansion."%f.__name__
 
63
     print("\n Test '%s' ignored as it should be fixed with mixed couplings expansion."%f.__name__)
60
64
     return
61
65
   return postpone
62
66