From 0271e2fa068c06de8399bccc81d34aae4782ca3d Mon Sep 17 00:00:00 2001 From: peunsu <44690893+peunsu@users.noreply.github.com> Date: Sun, 31 Mar 2024 08:25:25 +0000 Subject: [PATCH] Update the required python version to 3.10. Add compatibility to CRLF line endings. --- test.py | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 test.py diff --git a/test.py b/test.py deleted file mode 100644 index 83c1fa8..0000000 --- a/test.py +++ /dev/null @@ -1,14 +0,0 @@ -import ftb_snbt_lib -import json - -# Load the ftb snbt tag from a file. -some_snbt = ftb_snbt_lib.load(open("tests/medium_voltage.snbt", "r", encoding="utf-8")) - -# Dump the ftb snbt tag to a file. -ftb_snbt_lib.dump(some_snbt, open("tests/medium_voltage_copy.snbt", "w", encoding="utf-8")) - -# Load the ftb snbt tag from a file. -some_snbt = ftb_snbt_lib.load(open("tests/ad_astra.snbt", "r", encoding="utf-8")) - -# Dump the ftb snbt tag to a file. -ftb_snbt_lib.dump(some_snbt, open("tests/ad_astra_copy.snbt", "w", encoding="utf-8")) \ No newline at end of file