Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 22, 2024
1 parent 15b7425 commit 737cf37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/tests/consistent/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def test_pt_consistent_with_ref(self):
ret2 = self.eval_pt(obj)
ret2 = self.extract_ret(ret2, self.RefBackend.PT)
data2 = obj.serialize()
if obj.__class__.__name__.startswith(("Polar","Dipole")):
if obj.__class__.__name__.startswith(("Polar", "Dipole")):
# tf, pt serialization mismatch
common_keys = set(data1.keys()) & set(data2.keys())
data1 = {k: data1[k] for k in common_keys}
Expand Down

0 comments on commit 737cf37

Please sign in to comment.