Skip to content

Commit

Permalink
Error in docstring
Browse files Browse the repository at this point in the history
Skip tests with warning
  • Loading branch information
marc-flex authored and momchil-flex committed Jul 5, 2024
1 parent 3ad1b75 commit 8c092de
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tidy3d/components/heat_charge/heat/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class HeatSimulation(HeatChargeSimulation):
Example
-------
>>> import tidy3d as td
>>> heat_sim = td.HeatSimulation(
>>> heat_sim = td.HeatSimulation( # doctest: +SKIP
... size=(3.0, 3.0, 3.0),
... structures=[
... td.Structure(
Expand Down
2 changes: 1 addition & 1 deletion tidy3d/components/heat_charge/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class UniformHeatSource(HeatSource):
Example
-------
>>> heat_source = UniformHeatSource(rate=1, structures=["box"])
>>> heat_source = UniformHeatSource(rate=1, structures=["box"]) # doctest: +SKIP
"""

# NOTE: wrapper for backwards compatibility.
Expand Down
2 changes: 1 addition & 1 deletion tidy3d/components/heat_charge_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class InsulatorSpec(AbstractHeatChargeSpec):
Example
-------
>>> solid = InsulatingSpec()
>>> solid = InsulatorSpec()
"""


Expand Down

0 comments on commit 8c092de

Please sign in to comment.