summaryrefslogtreecommitdiff
path: root/tests/test_testing.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_testing.py')
-rw-r--r--tests/test_testing.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/test_testing.py b/tests/test_testing.py
index f5d9f942..1e30fa2f 100644
--- a/tests/test_testing.py
+++ b/tests/test_testing.py
@@ -86,17 +86,6 @@ class CoverageTestTest(CoverageTest):
with pytest.raises(AssertionError, match=msg):
self.assert_file_count("*.q", 10)
- def test_assert_startwith(self):
- self.assert_starts_with("xyzzy", "xy")
- self.assert_starts_with("xyz\nabc", "xy")
- self.assert_starts_with("xyzzy", ("x", "z"))
- msg = re.escape("'xyz' doesn't start with 'a'")
- with pytest.raises(AssertionError, match=msg):
- self.assert_starts_with("xyz", "a")
- msg = re.escape("'xyz\\nabc' doesn't start with 'a'")
- with pytest.raises(AssertionError, match=msg):
- self.assert_starts_with("xyz\nabc", "a")
-
def test_assert_recent_datetime(self):
def now_delta(seconds):
"""Make a datetime `seconds` seconds from now."""