Skip to content

Commit f8fc1aa

Browse files
committed
Convert special validation to py3.6
1 parent 1a82ea0 commit f8fc1aa

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

test/validations.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ test/validations/test-coverage/run.sh
77
python3.6 test/validations/securecookie/run.py
88
python3.6 test/validations/filename/run.py
99
python3.6 test/validations/relaxng/run.py
10-
python2.7 test/validations/special/run.py --quiet
10+
python3.6 test/validations/special/run.py --quiet

test/validations/special/run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python2.7
1+
#!/usr/bin/env python3.6
22

33
import glob
44
import argparse
@@ -163,7 +163,7 @@ def nomes_all(where=sys.argv[1:]):
163163
try:
164164
tree = etree.parse(filename, xml_parser)
165165
except Exception as oops:
166-
print("%s failed XML validity: %s\n" % (filename, oops))
166+
print("{} failed XML validity: {}\n".format(filename, oops))
167167
sys.exit(1)
168168

169169
if not xpath_ruleset(tree):

0 commit comments

Comments
 (0)