removed unused variable to fix a warning
This commit is contained in:
		| @@ -371,7 +371,7 @@ class TestLazyReferenceField(MongoDBTestCase): | |||||||
|  |  | ||||||
|         for ref in book.authors: |         for ref in book.authors: | ||||||
|             with pytest.raises(AttributeError): |             with pytest.raises(AttributeError): | ||||||
|                 x = ref["author"].name |                 ref["author"].name | ||||||
|             assert isinstance(ref.author, LazyReference) |             assert isinstance(ref.author, LazyReference) | ||||||
|             assert isinstance(ref.author.id, ObjectId) |             assert isinstance(ref.author.id, ObjectId) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user