Skip to content

Failed

gpkit.tests.from_paths.TestFiles.test_gassolar_solar_solar_py_mosek_conif (from gpkit.tests.from_paths.TestFiles-20200228004721)

Failing for the past 1 build (Since Failed #213 )
Took 2 ms.

Error Message

Missing parentheses in call to 'print'. Did you mean print("RMS error: %.4f" % rm)? (solar_irradiance.py, line 68)

Stacktrace

Traceback (most recent call last):
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/tests/helpers.py", line 64, in test
    testfn(name, import_dict, path)(self)
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/tests/from_paths.py", line 51, in <lambda>
    lambda self: getattr(self, name)()))  # pylint:disable=undefined-variable
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gpkit/gpkit/tests/from_paths.py", line 37, in test_fn
    mod = __import__(os.path.basename(path)[:-3])
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/gassolar/gassolar/solar/solar.py", line 8, in <module>
    from gassolar.environment.solar_irradiance import get_Eirr, twi_fits
  File "/Users/jenkins/workspace/CE_gplibrary_Push_research_models/mosek/venv2_gpkit/lib/python3.7/site-packages/gassolar/environment/solar_irradiance.py", line 68
    print "RMS error: %.4f" % rm
                          ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("RMS error: %.4f" % rm)?
		

Standard Output

	

Standard Error