Skip to content

Commit d2bfcf1

Browse files
committed
talk to @eecavanna about schema length doc tests
1 parent d4b37a9 commit d2bfcf1

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

nmdc_schema/nmdc_data.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,6 @@ def get_nmdc_jsonschema_bytes(variant: Optional[SchemaVariantIdentifier] = None)
118118
True
119119
"""
120120

121-
# # removed
122-
# >>> len(bytes_b) > len(bytes_a) # assumes that including structured patterns makes the file larger
123-
# True
124-
125121
nmdc_json = get_nmdc_jsonschema_bytesIO(variant=variant)
126122
return nmdc_json.getvalue()
127123

@@ -143,10 +139,6 @@ def get_nmdc_jsonschema_string(variant: Optional[SchemaVariantIdentifier] = None
143139
144140
"""
145141

146-
# # removed
147-
# >>> len(str_b) > len(str_a) # assumes that including structured patterns makes the file larger
148-
# True
149-
150142
nmdc_json = get_nmdc_jsonschema_bytes(variant=variant)
151143
return nmdc_json.decode("utf-8")
152144

0 commit comments

Comments
 (0)