about summary refs log tree commit diff
path: root/tests/run-make/libtest-junit/validate_junit.py
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2023-06-10 12:06:17 -0400
committerTrevor Gross <tgross@intrepidcs.com>2023-06-16 20:56:01 -0400
commit22d00dcd47e0b8e18eb254966750fb523c726e4e (patch)
tree603ea4c342940caabe746bc86822350aa5d7f9f4 /tests/run-make/libtest-junit/validate_junit.py
parent4b71d79c972a605959b0a7c82b323fbd8562f070 (diff)
downloadrust-22d00dcd47e0b8e18eb254966750fb523c726e4e.tar.gz
rust-22d00dcd47e0b8e18eb254966750fb523c726e4e.zip
Apply changes to fix python linting errors
Diffstat (limited to 'tests/run-make/libtest-junit/validate_junit.py')
-rwxr-xr-xtests/run-make/libtest-junit/validate_junit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run-make/libtest-junit/validate_junit.py b/tests/run-make/libtest-junit/validate_junit.py
index 47a8e70ccc3..0d9b34a3cf7 100755
--- a/tests/run-make/libtest-junit/validate_junit.py
+++ b/tests/run-make/libtest-junit/validate_junit.py
@@ -7,6 +7,6 @@ import xml.etree.ElementTree as ET
 for line in sys.stdin:
     try:
         ET.fromstring(line)
-    except ET.ParseError as pe:
+    except ET.ParseError:
         print("Invalid xml: %r" % line)
         raise