Skip to content

Commit b109784

Browse files
committed
Update the unit tests to reflect the earlier commit in this PR to
remove quotation marks from the error message.
1 parent 33b9fde commit b109784

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Lib/test/test_tempfile.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2170,8 +2170,8 @@ def test_prefix_suffix_error(self):
21702170
tests.append('C:name')
21712171
tests.extend(tuple(os.fsencode(path) for path in tests))
21722172

2173-
PREFIX_ERR = "'prefix' can't contain a directory component"
2174-
SUFFIX_ERR = "'suffix' can't contain a directory component"
2173+
PREFIX_ERR = "prefix can't contain a directory component"
2174+
SUFFIX_ERR = "suffix can't contain a directory component"
21752175
for value in tests:
21762176
with self.subTest(value):
21772177
# test prefix

0 commit comments

Comments
 (0)