Skip to content

Commit

Permalink
minor tox fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Abe Coull committed Nov 7, 2023
1 parent 0a5c8df commit a486c66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/braket/circuits/circuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -867,13 +867,13 @@ def _validate_parameters(self, parameter_values: dict[str, Number]) -> None:
to a value to assign to them.
Raises:
<<<<<<< HEAD
<<<<<<< HEAD
ValueError: If a parameter name is given which does not appear in the circuit.
=======
=======
ValueError: If there are no parameters that match the key for the arg
param_values.
>>>>>>> 7601914 (batched)
>>>>>>> 7601914 (batched)
"""
parameter_strings = set()
for parameter in self.parameters:
Expand Down
2 changes: 1 addition & 1 deletion src/braket/jobs/quantum_job_creation.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def _validate_entry_point(source_module_path: Path, entry_point: str) -> None:
# second argument allows relative imports
importlib.invalidate_caches()
module = importlib.util.find_spec(importable, source_module_path.stem)
if module is not None:
if module is None:
raise AssertionError
# if entry point is nested (ie contains '.'), parent modules are imported
except (ModuleNotFoundError, AssertionError):
Expand Down

0 comments on commit a486c66

Please sign in to comment.