We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f3a86b commit 3c5bab2Copy full SHA for 3c5bab2
tests/test_messages.py
@@ -32,8 +32,8 @@ def demoFuture(x, val=5):
32
with catch_warnings(record=True) as record:
33
self.assertEqual(7, demoFuture(2))
34
self.assertEqual(7, demoFuture(2, 5))
35
- self.assertEquals(len(record), 2,
36
- 'Did not catch two warnings::willChange')
+ self.assertEqual(len(record), 2,
+ "Did not catch two warnings::willChange")
37
38
def test_deprecatedDecorator(self):
39
"""Verify that the deprecated decorator doesn't break things"""
@@ -45,8 +45,8 @@ def demoFunction(x, val=5):
45
46
self.assertEqual(7, demoFunction(2))
47
self.assertEqual(7, demoFunction(2, 5))
48
49
- 'Did not catch two warnings::deprecation')
+ "Did not catch two warnings::deprecation")
50
51
52
class LoggingTester(TestCaseWithLogCapture):
0 commit comments