[Forensics-changes] [yara] 281/415: Make tests.py compatible with Python 3

Hilko Bengen bengen at moszumanska.debian.org
Thu Apr 3 05:43:15 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to branch debian
in repository yara.

commit 6673bc831b7b38456c0a3acd8ab57bfd9a294936
Author: Victor M. Alvarez <plusvic at gmail.com>
Date:   Tue Dec 3 16:51:59 2013 +0100

    Make tests.py compatible with Python 3
---
 yara-python/tests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/yara-python/tests.py b/yara-python/tests.py
index 447995e..ef1f142 100644
--- a/yara-python/tests.py
+++ b/yara-python/tests.py
@@ -379,7 +379,7 @@ class TestYara(unittest.TestCase):
             try:
                 self.runReTest(test)
             except Exception as e:
-                print '\nFailed test: %s\n' % str(test)
+                print('\nFailed test: %s\n' % str(test))
                 raise e
 
     def testEntrypoint(self):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git



More information about the forensics-changes mailing list