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

Function assert_changed

vispy/visuals/shaders/tests/test_function.py:325–328  ·  view source on GitHub ↗
(*objs)

Source from the content-addressed store, hash-verified

323 ch_obj = C()
324
325 def assert_changed(*objs):
326 assert set(ch) == set(objs)
327 while ch:
328 ch.pop()
329
330 fun1 = Function('void main(){$var1; $var2;}')
331 fun1._dependents[ch_obj] = None

Callers 1

test_function_changedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…