updates for removing use-maxsplit-arg (#12199)

This commit is contained in:
Joe Schulte 2024-04-18 04:32:24 -04:00 committed by GitHub
parent 3d676d2fd0
commit b204015ddb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -241,7 +241,6 @@ disable = [
"use-dict-literal",
"use-list-literal",
"use-implicit-booleaness-not-comparison",
"use-maxsplit-arg",
]
enable = [

View File

@ -136,7 +136,7 @@ class TestCircuitDrawer(QiskitTestCase):
if filename.endswith("jpg"):
self.assertIn(im.format.lower(), "jpeg")
else:
self.assertIn(im.format.lower(), filename.split(".")[-1])
self.assertIn(im.format.lower(), filename.rsplit(".", maxsplit=1)[-1])
os.remove(filename)
def test_wire_order(self):