Skip to content

Commit 10ab887

Browse files
Merge pull request #248 from jzuhone/no_doctest
2 parents 9a788e4 + aff9061 commit 10ab887

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

HISTORY.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ you run into issues please let us know by `opening an issue on GitHub
314314
``unyt`` namespace as well as when a unit name is passed as a string to
315315
``unyt``. For example:
316316

317-
.. doctest::
317+
.. code-block::
318318
319319
>>> from unyt import meter, second
320320
>>> data = 1000.0 * meter / second
@@ -343,7 +343,7 @@ you run into issues please let us know by `opening an issue on GitHub
343343
system so that conversions to "base" units will end up in that non-MKS
344344
system. For example:
345345

346-
.. doctest::
346+
.. code-block::
347347
348348
>>> from unyt import UnitRegistry, unyt_quantity
349349
>>> ureg = UnitRegistry(unit_system="cgs")
@@ -358,7 +358,7 @@ you run into issues please let us know by `opening an issue on GitHub
358358
populated. For example, the author of a library making use of ``unyt`` could
359359
create an object that users can use to access unit data like this:
360360

361-
.. doctest::
361+
.. code-block::
362362
363363
>>> from unyt.unit_systems import add_symbols
364364
>>> from unyt.unit_registry import UnitRegistry

0 commit comments

Comments
 (0)