MCPcopy Create free account
hub / github.com/vispy/vispy / test_testing

Function test_testing

vispy/testing/tests/test_testing.py:10–17  ·  view source on GitHub ↗

Test testing ports

()

Source from the content-addressed store, hash-verified

8
9
10def test_testing():
11 """Test testing ports"""
12 assert_raises(AssertionError, assert_in, 'foo', 'bar')
13 assert_in('foo', 'foobar')
14 assert_raises(AssertionError, assert_not_in, 'foo', 'foobar')
15 assert_not_in('foo', 'bar')
16 assert_raises(AssertionError, assert_is, None, 0)
17 assert_is(None, None)
18
19
20run_tests_if_main()

Callers

nothing calls this directly

Calls 4

assert_raisesFunction · 0.90
assert_inFunction · 0.90
assert_not_inFunction · 0.90
assert_isFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…