@@ -159,9 +159,6 @@ def leap_second(test):
159
159
or skip (
160
160
message = bug (371 ),
161
161
subject = "ref" ,
162
- description = (
163
- "$ref resolves to /definitions/foo, data does not validate"
164
- ),
165
162
case_description = (
166
163
"$ref prevents a sibling id from changing the base uri"
167
164
),
@@ -176,7 +173,6 @@ def leap_second(test):
176
173
DRAFT4 .optional_tests_of (name = "bignum" ),
177
174
DRAFT4 .optional_tests_of (name = "float-overflow" ),
178
175
DRAFT4 .optional_tests_of (name = "non-bmp-regex" ),
179
- DRAFT4 .optional_tests_of (name = "unicode" ),
180
176
DRAFT4 .optional_tests_of (name = "zeroTerminatedFloats" ),
181
177
Validator = Draft4Validator ,
182
178
format_checker = draft4_format_checker ,
@@ -220,6 +216,14 @@ def leap_second(test):
220
216
subject = "refRemote" ,
221
217
case_description = "base URI change - change folder in subschema" ,
222
218
)(test )
219
+ or skip (
220
+ message = bug (),
221
+ subject = "ref" ,
222
+ case_description = (
223
+ "id must be resolved against nearest parent, "
224
+ "not just immediate parent"
225
+ ),
226
+ )(test )
223
227
),
224
228
)
225
229
@@ -230,7 +234,6 @@ def leap_second(test):
230
234
DRAFT6 .optional_tests_of (name = "bignum" ),
231
235
DRAFT6 .optional_tests_of (name = "float-overflow" ),
232
236
DRAFT6 .optional_tests_of (name = "non-bmp-regex" ),
233
- DRAFT6 .optional_tests_of (name = "unicode" ),
234
237
Validator = Draft6Validator ,
235
238
format_checker = draft6_format_checker ,
236
239
skip = lambda test : (
@@ -251,6 +254,13 @@ def leap_second(test):
251
254
subject = "refRemote" ,
252
255
case_description = "base URI change - change folder in subschema" ,
253
256
)(test )
257
+ or skip (
258
+ message = bug (371 ),
259
+ subject = "ref" ,
260
+ case_description = (
261
+ "$ref prevents a sibling $id from changing the base uri"
262
+ ),
263
+ )(test )
254
264
),
255
265
)
256
266
@@ -262,7 +272,6 @@ def leap_second(test):
262
272
DRAFT7 .optional_tests_of (name = "content" ),
263
273
DRAFT7 .optional_tests_of (name = "float-overflow" ),
264
274
DRAFT7 .optional_tests_of (name = "non-bmp-regex" ),
265
- DRAFT7 .optional_tests_of (name = "unicode" ),
266
275
Validator = Draft7Validator ,
267
276
format_checker = draft7_format_checker ,
268
277
skip = lambda test : (
@@ -284,6 +293,21 @@ def leap_second(test):
284
293
subject = "refRemote" ,
285
294
case_description = "base URI change - change folder in subschema" ,
286
295
)(test )
296
+ or skip (
297
+ message = bug (371 ),
298
+ subject = "ref" ,
299
+ case_description = (
300
+ "$ref prevents a sibling $id from changing the base uri"
301
+ ),
302
+ )(test )
303
+ or skip (
304
+ message = bug (),
305
+ subject = "ref" ,
306
+ case_description = (
307
+ "$id must be resolved against nearest parent, "
308
+ "not just immediate parent"
309
+ ),
310
+ )(test )
287
311
or skip (
288
312
message = bug (593 ),
289
313
subject = "content" ,
@@ -316,7 +340,6 @@ def leap_second(test):
316
340
DRAFT201909 .optional_tests_of (name = "float-overflow" ),
317
341
DRAFT201909 .optional_tests_of (name = "non-bmp-regex" ),
318
342
DRAFT201909 .optional_tests_of (name = "refOfUnknownKeyword" ),
319
- DRAFT201909 .optional_tests_of (name = "unicode" ),
320
343
Validator = Draft201909Validator ,
321
344
skip = lambda test : (
322
345
skip (
@@ -327,6 +350,19 @@ def leap_second(test):
327
350
message = "dynamicRef support isn't working yet." ,
328
351
subject = "recursiveRef" ,
329
352
)(test )
353
+ or skip (
354
+ message = "These tests depends on dynamicRef working." ,
355
+ subject = "anchor" ,
356
+ case_description = "same $anchor with different base uri" ,
357
+ )(test )
358
+ or skip (
359
+ message = bug (),
360
+ subject = "ref" ,
361
+ case_description = (
362
+ "$id must be resolved against nearest parent, "
363
+ "not just immediate parent"
364
+ ),
365
+ )(test )
330
366
),
331
367
)
332
368
@@ -351,7 +387,6 @@ def leap_second(test):
351
387
DRAFT202012 .optional_tests_of (name = "float-overflow" ),
352
388
DRAFT202012 .optional_tests_of (name = "non-bmp-regex" ),
353
389
DRAFT202012 .optional_tests_of (name = "refOfUnknownKeyword" ),
354
- DRAFT202012 .optional_tests_of (name = "unicode" ),
355
390
Validator = Draft202012Validator ,
356
391
skip = lambda test : (
357
392
narrow_unicode_build (test )
@@ -363,6 +398,19 @@ def leap_second(test):
363
398
message = "These tests depends on dynamicRef working." ,
364
399
subject = "defs" ,
365
400
)(test )
401
+ or skip (
402
+ message = "These tests depends on dynamicRef working." ,
403
+ subject = "anchor" ,
404
+ case_description = "same $anchor with different base uri" ,
405
+ )(test )
406
+ or skip (
407
+ message = bug (),
408
+ subject = "ref" ,
409
+ case_description = (
410
+ "$id must be resolved against nearest parent, "
411
+ "not just immediate parent"
412
+ ),
413
+ )(test )
366
414
),
367
415
)
368
416
0 commit comments