1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-21 10:15:12 +03:00
aports/testing/py3-pykwalify/fix-duplicate-key-error.patch
2020-05-14 17:23:38 +00:00

22 lines
758 B
Diff

From 744816a146e567a4c1efd30e874ff76134754fe2 Mon Sep 17 00:00:00 2001
From: Grokzen <Grokzen@gmail.com>
Date: Wed, 9 Oct 2019 23:25:59 +0200
Subject: [PATCH] Fix broken test where errors data was wrong and duplicated
---
tests/files/fail/test_type_float.yaml | 2 --
1 file changed, 2 deletions(-)
diff --git a/tests/files/fail/test_type_float.yaml b/tests/files/fail/test_type_float.yaml
index bef14b8..972167d 100644
--- a/tests/files/fail/test_type_float.yaml
+++ b/tests/files/fail/test_type_float.yaml
@@ -16,8 +16,6 @@ schema:
type: seq
seq:
- type: float
-errors:
- - "Value 'foo' is not of type 'float'. Path: '/0'"
errors:
- "Value 'True' is not of type 'float'. Path: '/1'"
- "Value 'foo' is not of type 'float'. Path: '/0'"