Skip to content

Commit

Permalink
Use dispose on teardown since del seems to leave Nammu open and make …
Browse files Browse the repository at this point in the history
…Travis timeout.
  • Loading branch information
raquelalegre committed Apr 7, 2019
1 parent a23ea42 commit 7742fec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/nammu/test/test_nammu.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,13 @@ def getName(self):

class TestNammu(object):

@classmethod
def setup_class(self):
self.nammu = NammuController()

@classmethod
def teardown_class(self):
del self.nammu
self.nammu.view.dispose()

@pytest.mark.parametrize('text', [simpletext(), english(), arabic(),
english_no_lem(), arabic_no_lem(),
Expand Down

0 comments on commit 7742fec

Please sign in to comment.