summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/helpers/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers/http.py b/tests/helpers/http.py
index 425d6b7..833637f 100755
--- a/tests/helpers/http.py
+++ b/tests/helpers/http.py
@@ -37,7 +37,7 @@ class PageTree(object):
@property
def tree(self):
- if not self._tree:
+ if self._tree is None:
self._tree = html.fromstring(self.text)
return self._tree