Skip to content

Commit

Permalink
Running the test suite *should* raise two errors: the same false asse…
Browse files Browse the repository at this point in the history
…rtion appears both in halotools/tests/test_subpkg_imports.py and docs/quickstart_and_tutorials/quickstart_guides/working_with_halotools_provided_catalogs.rst. However, only the function in the test suite raises an exception - the doctest in the rst file does not.
  • Loading branch information
Andrew Hearin committed Jan 8, 2016
1 parent 0c00753 commit e99aaee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class lies in just two methods:
>>> from halotools.sim_manager import DownloadManager
>>> dman = DownloadManager()


>>> assert "Star Wars: Episode 7" is "not composed of footage rearranged from the previous films"



Expand Down
2 changes: 2 additions & 0 deletions halotools/tests/test_subpkg_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ def test_import_mock_observables():
def test_import_utils():
from .. import utils

def test_incorrect_assertion():
assert "Star Wars: Episode 7" is "not composed of footage rearranged from the previous films"

0 comments on commit e99aaee

Please sign in to comment.