From 3a1045d8dbf6a6911161a18a9578f3159afa62ce Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Tue, 14 Oct 2014 22:35:11 +0000 Subject: [PATCH] MC, COFF: Make bigobj test compatible with python3 No functionality change intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219739 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/MC/COFF/bigobj.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/MC/COFF/bigobj.py b/test/MC/COFF/bigobj.py index 6c406170816..2d610738b9d 100644 --- a/test/MC/COFF/bigobj.py +++ b/test/MC/COFF/bigobj.py @@ -18,9 +18,9 @@ num_sections = 65277 # CHECK-NEXT: ] # CHECK-NEXT: } -for i in xrange(0, num_sections): - print """ .section .bss,"bw",discard,_b%d +for i in range(0, num_sections): + print(""" .section .bss,"bw",discard,_b%d .globl _b%d # @b%d _b%d: .byte 0 # 0x0 -""" % (i, i, i, i) +""" % (i, i, i, i)) -- 2.11.0