mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2024-11-12 17:54:29 +00:00
15 lines
386 B
Python
15 lines
386 B
Python
import pytest
|
|
import warnings
|
|
|
|
def test_hold_up():
|
|
from linkml_runtime.linkml_model import SchemaDefinition, Annotation
|
|
schema = SchemaDefinition(
|
|
id='myschema',
|
|
name='myschema',
|
|
annotations=[{'tag':'my_annotation','value':True}]
|
|
)
|
|
|
|
warnings.warn('TYPE OF ANNOTATION IS')
|
|
warnings.warn(str(type(schema.annotations['my_annotation'].value)))
|
|
|
|
|