Skip to content

Commit c489882

Browse files
committed
Fix another test failure
1 parent 39e4dcb commit c489882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testapp/test_queries.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def test_twice(self):
115115
assert list(Model.objects.with_tree_fields().with_tree_fields()) == []
116116

117117
def test_boring_coverage(self):
118-
with pytest.raises(ValueError, match="TreeQuery cannot be used"):
118+
with pytest.raises(ValueError, match="Need either using or connection"):
119119
TreeQuery(Model).get_compiler()
120120

121121
def test_count(self):

0 commit comments

Comments
 (0)