Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mottosso committed Feb 11, 2019
1 parent 1a3c06c commit 00f2eb4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
)


def test_async():
"""util.async works as expected"""
def test_defer():
"""util.defer works as expected"""

app = QtCore.QCoreApplication(sys.argv)

Expand All @@ -26,7 +26,7 @@ def on_expensive_function(result):
mutable["result"] = result
app.quit()

qthread = util.async(expensive_function,
qthread = util.defer(expensive_function,
callback=on_expensive_function)

app.exec_()
Expand Down

0 comments on commit 00f2eb4

Please sign in to comment.