Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable test without changing rendering #328

Open
hololeap opened this issue Feb 13, 2022 · 1 comment
Open

Disable test without changing rendering #328

hololeap opened this issue Feb 13, 2022 · 1 comment

Comments

@hololeap
Copy link

hololeap commented Feb 13, 2022

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.

@hololeap
Copy link
Author

hololeap commented Feb 13, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant