summaryrefslogtreecommitdiff
path: root/tests/test_testing.py
diff options
context:
space:
mode:
authorSergey Maranchuk <slav0nic@python.su>2020-04-17 23:35:37 +0300
committerSergey Maranchuk <slav0nic@python.su>2020-04-19 00:53:36 +0300
commitaadf19a5b81645b18e50699fe2f180aeff3409b3 (patch)
treee8031a2301383f5b5c05fb1a90045842fa3ae296 /tests/test_testing.py
parent6668e43d2d67db4574e08a9d54bd80eb105c1b28 (diff)
downloadpyramid-aadf19a5b81645b18e50699fe2f180aeff3409b3.tar.gz
pyramid-aadf19a5b81645b18e50699fe2f180aeff3409b3.tar.bz2
pyramid-aadf19a5b81645b18e50699fe2f180aeff3409b3.zip
rename __nonzero__() to __bool__()
Diffstat (limited to 'tests/test_testing.py')
-rw-r--r--tests/test_testing.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/test_testing.py b/tests/test_testing.py
index 5273e7f79..e630eb00b 100644
--- a/tests/test_testing.py
+++ b/tests/test_testing.py
@@ -103,10 +103,6 @@ class TestDummyResource(unittest.TestCase):
self.assertEqual(L(resource.keys()), L(resource.subs.keys()))
self.assertEqual(len(resource), 2)
- def test_nonzero(self):
- resource = self._makeOne()
- self.assertEqual(resource.__nonzero__(), True)
-
def test_bool(self):
resource = self._makeOne()
self.assertEqual(resource.__bool__(), True)