Skip to content

Commit 716a92e

Browse files
committed
Fix version check
1 parent f6de5a9 commit 716a92e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bpython/test/test_autocomplete.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from bpython._py3compat import py3
2222
from bpython.test import mock
2323

24-
if is_py3:
24+
if py3:
2525
glob_function = "glob.iglob"
2626
else:
2727
glob_function = "glob.glob"
@@ -429,7 +429,7 @@ def test_completions_starting_with_different_cases(self):
429429
)
430430
self.assertSetEqual(matches, set(["ade"]))
431431

432-
@unittest.skipUnless(is_py3, "asyncio required")
432+
@unittest.skipUnless(py3, "asyncio required")
433433
def test_issue_544(self):
434434
com = autocomplete.MultilineJediCompletion()
435435
code = "@asyncio.coroutine\ndef"

0 commit comments

Comments
 (0)