From c142d861e12f7743ad304b190109e710285181cf Mon Sep 17 00:00:00 2001 From: Chris Meyer <34664+cmeyer@users.noreply.github.com> Date: Mon, 24 Jun 2024 14:10:57 -0700 Subject: [PATCH] Fix test from last-minute max-length change in last commit. --- nion/swift/test/Utility_test.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nion/swift/test/Utility_test.py b/nion/swift/test/Utility_test.py index e06435073..f6d3900fd 100644 --- a/nion/swift/test/Utility_test.py +++ b/nion/swift/test/Utility_test.py @@ -49,8 +49,7 @@ def test_simplify_filename(self): test_filenames = [("test.bmp", "test.bmp"), (r"5/3/2024.txt", r"5_3_2024.txt"), ("50µm.png", "50µm.png"), - ("123456789012345678901234567890123456789012345678901234567890.123456", - "123456789012345678901234567890123456789012345678901234567.123456"), + ("1234567890" * 13 + ".1234567", "1234567890" * 12 + ".1234567"), ("NUL", "_NUL"), (".", "_"), ("a\N{WARNING SIGN}b", "a\N{WARNING SIGN}b"),