mirror of https://github.com/Qiskit/qiskit.git
updates for removing use-maxsplit-arg (#12199)
This commit is contained in:
parent
3d676d2fd0
commit
b204015ddb
|
@ -241,7 +241,6 @@ disable = [
|
|||
"use-dict-literal",
|
||||
"use-list-literal",
|
||||
"use-implicit-booleaness-not-comparison",
|
||||
"use-maxsplit-arg",
|
||||
]
|
||||
|
||||
enable = [
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue