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 0662921 commit 4408f9dCopy full SHA for 4408f9d
bpython/test/test_interpreter.py
@@ -29,7 +29,7 @@ def append_to_a(message):
29
bold(magenta('1')) + '\n 1.1.1.1\n ^\n' + \
30
bold(red('SyntaxError')) + ': ' + cyan('invalid syntax') + '\n'
31
32
- self.assertEquals(str(plain('').join(a)), str(expected))
+ self.assertMultiLineEqual(str(plain('').join(a)), str(expected))
33
self.assertEquals(plain('').join(a), expected)
34
35
def test_traceback(self):
@@ -54,7 +54,7 @@ def g():
54
cyan('<module>') + '\n' + bold(red('NameError')) + ': ' + \
55
cyan("name 'g' is not defined") + '\n'
56
57
58
59
60
@unittest.skipIf(py3, "runsource() accepts only unicode in Python 3")
0 commit comments