From 3416b4898056ff4214625a0cda12c7f53415080f 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. llvm-svn: 219739 --- llvm/test/MC/COFF/bigobj.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/test/MC/COFF/bigobj.py b/llvm/test/MC/COFF/bigobj.py index 6c4061708160..2d610738b9da 100644 --- a/llvm/test/MC/COFF/bigobj.py +++ b/llvm/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))