From 41081e381705e9fed7177a5ff434c3d825eb40ba Mon Sep 17 00:00:00 2001 From: srivatsansoft Date: Wed, 24 Feb 2016 21:52:38 +0530 Subject: [PATCH] supporting python 2.6 --- myhdl/test/bugs/test_issue_104.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/myhdl/test/bugs/test_issue_104.py b/myhdl/test/bugs/test_issue_104.py index 7dbfb81b..9734d29b 100644 --- a/myhdl/test/bugs/test_issue_104.py +++ b/myhdl/test/bugs/test_issue_104.py @@ -8,9 +8,9 @@ def test(): @instance def tbstim(): yield delay(10) - print("{:<8d} ".format(now())) + print("{0:<8d} ".format(now())) yield delay(1000) - print("{:<8d} ".format(now())) + print("{0:<8d} ".format(now())) for _ in range(10): yield delay(1000)