Skip to content

Commit 05315b0

Browse files
tinuademargaretbsipocz
authored andcommitted
adjusted test comments
1 parent 734eb2c commit 05315b0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_doctestplus.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ def test_remote_data_off(testdir):
808808
p = testdir.makefile(
809809
'.rst',
810810
"""
811-
# This test should fail, but we skip it, thus the test should be skipped.
811+
# This test should be skipped when remote data is not requested.
812812
.. doctest-remote-data::
813813
814814
>>> from contextlib import closing
@@ -830,8 +830,7 @@ def test_remote_data_float_cmp(testdir):
830830
p = testdir.makefile(
831831
'.rst',
832832
"""
833-
#This test is skipped when remote data is not requested, and should
834-
#fails when remote data is requested
833+
#This test is skipped when remote data is not requested
835834
.. doctest-remote-data::
836835
837836
>>> x = 1/3.
@@ -898,7 +897,8 @@ def test_remote_data_requires(testdir):
898897
p = testdir.makefile(
899898
'.rst',
900899
"""
901-
#This test should be skipped even if remote data is requested because
900+
#This test should be skipped when remote data is not requested.
901+
#It should also be skipped instead of failing when remote data is requested because
902902
#the module required does not exist
903903
.. doctest-remote-data::
904904
.. doctest-requires:: does-not-exist

0 commit comments

Comments
 (0)