From 4b56dc74819f7fc85099ffa49e772ce821592708 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sat, 4 May 2024 19:38:20 +0100 Subject: Argument type expected to be a string --- tests/test_rom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_rom.py b/tests/test_rom.py index 30e8d33..6b7761f 100755 --- a/tests/test_rom.py +++ b/tests/test_rom.py @@ -8,7 +8,7 @@ from os import path, environ class TestRom(unittest.TestCase): """Test that the generated game ROM is correct.""" - ROM_SIZE = int(environ.get("ROM_MAX", 0), 16) + ROM_SIZE = int(environ.get("ROM_MAX", "0"), 16) @classmethod def setUpClass(cls): -- cgit v1.2.3