From 2c4fba0144c14db0b343be71dfc657a36d53f1f2 Mon Sep 17 00:00:00 2001 From: faze-geek Date: Wed, 21 Feb 2024 12:49:44 +0530 Subject: [PATCH] Revert some changes --- 3rd/cjson/LICENSE | 2 +- c_bindings/test.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/3rd/cjson/LICENSE b/3rd/cjson/LICENSE index d3a4c979..8b84267d 100644 --- a/3rd/cjson/LICENSE +++ b/3rd/cjson/LICENSE @@ -2,7 +2,7 @@ MIT License Copyright (c) 2009-2017 Dave Gamble and cJSON contributors -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Sofware without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. diff --git a/c_bindings/test.c b/c_bindings/test.c index 10bdd885..1800d871 100644 --- a/c_bindings/test.c +++ b/c_bindings/test.c @@ -364,7 +364,7 @@ int main(int argc, char** argv) { PRINT_TITLE("test other errors"); check(pkpy_getglobal(vm, pkpy_name("test_error_propagate"))); check(pkpy_pop_top(vm)); - fail(pkpy_getglobal(vm, pkpy_name("nonexistent"))); + fail(pkpy_getglobal(vm, pkpy_name("nonexistant"))); error(pkpy_exec(vm, "raise NameError('testing error throwing from python')")); PRINT_TITLE("test TypeError");