jyasskin/lxml — comment on commit ab8e7e8e6089c420c0718ed9c851a158712f2833
File: src/lxml/tests/test_builder.py line 29
By scoder:

I understand that this is what made you do this. However, it's not the point of the ET builder tests to test what an XPath result behaves like. Why don't you use ```class StringSubclass(str): pass``` and pass an instance of that into the factory?