failure to locate elements
I have include two files. The first file is a proper subset of the second. In the first file, the p and div elements are not found. In the second file the p and div elements are correctly found.
This issue was found in using PyQuery via WebTest but it fails when using PyQuery directly. The version in use is 1.2.1.
from pyquery import PyQuery f = open('f1','r') s = f.read() f.close() d = PyQuery(s) print len(d('p')) #should be 1 for both files }}}