convert print statements to py3

This commit is contained in:
Kyle Robbertze 2020-01-16 15:33:44 +02:00
parent 2aa4392a38
commit 632ba9acfe
15 changed files with 54 additions and 40 deletions

View file

@ -1,3 +1,4 @@
from __future__ import print_function
from nose.tools import *
from airtime_analyzer.replaygain_analyzer import ReplayGainAnalyzer
@ -28,7 +29,7 @@ def check_default_metadata(metadata):
'''
tolerance = 0.30
expected_replaygain = 5.0
print metadata['replay_gain']
print(metadata['replay_gain'])
assert abs(metadata['replay_gain'] - expected_replaygain) < tolerance
def test_missing_replaygain():