Skip to content

Commit

Permalink
Try to fix mac test
Browse files Browse the repository at this point in the history
emphasis lies on "Try"
  • Loading branch information
mara004 committed Dec 14, 2023
1 parent bc2c843 commit 58f9eda
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/testsuite.py
Original file line number Diff line number Diff line change
Expand Up @@ -2550,7 +2550,7 @@ class MacromanEncodeTest(unittest.TestCase):

@classmethod
def setUpClass(cls):
cls.mac_roman_file = "temp_mac.h"
cls.mac_roman_file = TEST_DIR/"temp_mac.h"
mac_header_str = b"""
#define kICHelper "\xa9\\pHelper\xa5"
Expand All @@ -2559,8 +2559,8 @@ def setUpClass(cls):
with open(cls.mac_roman_file, "wb") as mac_file:
mac_file.write(mac_header_str)

header_str = """
#include "temp_mac.h"
header_str = f"""
#include "{cls.mac_roman_file}"
#define MYSTRING kICHelper
Expand Down

0 comments on commit 58f9eda

Please sign in to comment.