This commit is contained in:
@@ -8,7 +8,7 @@ from io import StringIO
|
||||
import colorama
|
||||
from slic.utils.pv import PV
|
||||
print("PV backend:", type(PV))
|
||||
|
||||
'''
|
||||
|
||||
# Caproto is used to simulate a real EPICS IOC for testing
|
||||
from caproto.server import pvproperty, PVGroup, ioc_arg_parser, run
|
||||
@@ -112,4 +112,5 @@ def test_use_callback_context_manager():
|
||||
assert 42.0 in seen_values
|
||||
|
||||
# After context manager exit, callback should be removed
|
||||
assert len(pv._callbacks) == initial_count
|
||||
assert len(pv._callbacks) == initial_count
|
||||
'''
|
||||
Reference in New Issue
Block a user