Skip to content

Commit

Permalink
tests: fix test_owpythonscript
Browse files Browse the repository at this point in the history
  • Loading branch information
JakaKokosar committed Jan 11, 2019
1 parent cdc5de8 commit 81b85de
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Orange/widgets/data/tests/test_owpythonscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def test_outputs(self):

def test_local_variable(self):
"""Check if variable remains in locals after removed from script"""
self.widget.autobox.setCheckState(False)
self.widget.text.setPlainText("temp = 42\nprint(temp)")
self.widget.execute_button.click()
self.assertIn("42", self.widget.console.toPlainText())
Expand All @@ -57,7 +56,6 @@ def test_wrong_outputs(self):
Error is shown when output variables are filled with wrong variable
types and also output variable is set to None. (GH-2308)
"""
self.widget.autobox.setCheckState(False)
self.assertEqual(len(self.widget.Error.active), 0)
for signal, data in (
("Data", self.iris),
Expand All @@ -80,7 +78,6 @@ def test_owns_errors(self):
self.assertIsNot(self.widget.Error, OWWidget.Error)

def test_multiple_signals(self):
self.widget.autobox.setCheckState(False)
click = self.widget.execute_button.click
console_locals = self.widget.console.locals

Expand Down

0 comments on commit 81b85de

Please sign in to comment.