diff --git a/freewili/fw.py b/freewili/fw.py index 038efe2..3dae86d 100644 --- a/freewili/fw.py +++ b/freewili/fw.py @@ -2243,7 +2243,7 @@ def from_ext(cls, ext: str) -> Self: "sub": (FreeWiliProcessorType.Main, "/radio", "Radio file"), "fwi": (FreeWiliProcessorType.Display, "/images", "Image file"), "wav": (FreeWiliProcessorType.Display, "/sounds", "Audio file"), - "py": (FreeWiliProcessorType.Main, "/scripts", "rthon script"), + "py": (FreeWiliProcessorType.Main, "/scripts", "Python script"), } if ext not in mappings: raise ValueError(f"Extension '{ext}' is not a known FreeWili file type") diff --git a/tests/test_fw.py b/tests/test_fw.py index 33c3e4c..72c6799 100644 --- a/tests/test_fw.py +++ b/tests/test_fw.py @@ -20,7 +20,7 @@ def test_file_mappings() -> None: "sub": (FreeWiliProcessorType.Main, "/radio", "Radio file"), "fwi": (FreeWiliProcessorType.Display, "/images", "Image file"), "wav": (FreeWiliProcessorType.Display, "/sounds", "Audio file"), - "py": (FreeWiliProcessorType.Main, "/scripts", "rthon script"), + "py": (FreeWiliProcessorType.Main, "/scripts", "Python script"), } for ext, values in known_maps.items(): diff --git a/tests/test_i2c.py b/tests/test_i2c.py index 79337d8..48443a4 100644 --- a/tests/test_i2c.py +++ b/tests/test_i2c.py @@ -1,5 +1,4 @@ """Test I2C functionality on a FreeWili.""" -from tkinter import N import pytest