Skip to content

Commit 94dd941

Browse files
quazardousclaude
andcommitted
Use a neutral issue number in the test fixtures
The digits carry no meaning for the test -- only the `#` does -- and a bare number in a rope test reads as a rope issue. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V5GqJKaXZzFzmFEYgo4pPR
1 parent 7713b8e commit 94dd941

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ropetest/refactor/patchedasttest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ def test_handling_hash_inside_implicitly_concatenated_fstrings(self):
288288
source = dedent("""\
289289
assert flag, (
290290
f"one "
291-
f"two (#1693).")
291+
f"two (#123).")
292292
""")
293293
ast_frag = patchedast.get_patched_ast(source, True)
294294
self.assertEqual(source, patchedast.write_ast(ast_frag))
@@ -297,7 +297,7 @@ def test_handling_hash_inside_a_plain_string(self):
297297
source = dedent("""\
298298
assert flag, (
299299
"one "
300-
"two (#1693).")
300+
"two (#123).")
301301
""")
302302
ast_frag = patchedast.get_patched_ast(source, True)
303303
self.assertEqual(source, patchedast.write_ast(ast_frag))

0 commit comments

Comments
 (0)