NotFoundError doesn't really exist anymore. We're deprecating it, so change the corresponding tests.

This commit is contained in:
Dave Halter committed 2014-12-08 00:48:06 +01:00
1 parent d6595ad020
commit 0c77e9960a
2 files changed
+3 -5

No files matched your search

+2 -4
View File
@@ -99,11 +99,9 @@ def test_completion_on_complex_literals():
def test_goto_assignments_on_non_statement():
with raises(api.NotFoundError):
api.Script('for').goto_assignments()
assert api.Script('for').goto_assignments() == []
with raises(api.NotFoundError):
api.Script('assert').goto_assignments()
assert api.Script('assert').goto_assignments() == []
def test_goto_definition_not_multiple():