Skip to content

Commit 14d30d5

Browse files
committed
Fix formatting in context list assertions for improved readability
1 parent 364cf6d commit 14d30d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/core/test_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ def test_as_list_str(self, mock_wrap_content):
416416
# Assertions for context list
417417
assert len(context_list) == 3 # PACKAGES, file1.py, file2.py
418418
assert 'wrapped(import numpy as np, PACKAGES)' in context_list
419-
assert 'wrapped(class FullClass:\n ..., file1.py)' in context_list
419+
assert 'wrapped(\nclass FullClass:\n ..., file1.py)' in context_list
420420
# Check that the partial class was constructed correctly
421421
assert 'wrapped(class PartialClass(Base):\n\n\n ...\n\n\ndef partial_method(self):\n pass, file2.py)' in context_list
422422

0 commit comments

Comments
 (0)