doctest
doctest copied to clipboard
Disable test without changing rendering
Is there a way to do this currently? I sometimes run into tests for doctest that are incompatible with my system. I would like to have a way to disable them without changing how the docs are rendered.
Here is an example:
-- >>> input auto "https://raw.githubusercontent.com/dhall-lang/dhall-haskell/18e4e9a18dc53271146df3ccf5b4177c3552236b/examples/True" :: IO Bool
-- True
https://github.com/dhall-lang/dhall-haskell/blob/ecef9b7daf5bb16d2678a7c973406fbc78731d19/dhall/src/Dhall/Tutorial.hs#L378-L379
My system (gentoo) runs tests in a sandbox and doesn't allow for network calls. I want to patch this so that it disables the test, but I want to keep the way it renders in Haddock the same. How can I do this?