Skip to content

Commit 41c41e4

Browse files
authored
Run format_all script (#644)
1 parent 09ba5d3 commit 41c41e4

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

tensorflow_quantum/core/serialize/op_deserializer_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,6 @@ def test_from_proto_not_required_ok(self, q):
325325
result = deserializer.from_proto(serialized)
326326
self.assertEqual(result, GateWithAttribute(0.125)(q))
327327

328-
329328
def test_from_proto_missing_required_arg(self):
330329
"""Error raised when required field is missing."""
331330
deserializer = op_deserializer.GateOpDeserializer(

tensorflow_quantum/python/layers/circuit_executors/sampled_expectation_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ def test_sampled_expectation_symbol_input(self):
6868
sampled_expectation.SampledExpectation(
6969
differentiator=linear_combination.ForwardDifference())
7070

71-
7271
def test_sampled_expectation_instantiate_error(self):
7372
"""Test that SampledExpectation errors with bad inputs."""
7473

0 commit comments

Comments
 (0)