MCPcopy Create free account
hub / github.com/numpy/numpy / test_regex

Method test_regex

numpy/testing/tests/test_utils.py:1232–1236  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1230 lambda: assert_string_equal("foo", "hello"))
1231
1232 def test_regex(self):
1233 assert_string_equal("a+*b", "a+*b")
1234
1235 assert_raises(AssertionError,
1236 lambda: assert_string_equal("aaa", "a+b"))
1237
1238
1239def assert_warn_len_equal(mod, n_in_context):

Callers

nothing calls this directly

Calls 2

assert_string_equalFunction · 0.90
assert_raisesFunction · 0.90

Tested by

no test coverage detected