mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-22 12:11:31 +08:00
A test suite imported from jedi.
This commit is contained in:
13
test/helpers.py
Normal file
13
test/helpers.py
Normal file
@@ -0,0 +1,13 @@
|
||||
"""
|
||||
A helper module for testing, improves compatibility for testing (as
|
||||
``jedi._compatibility``) as well as introducing helper functions.
|
||||
"""
|
||||
|
||||
import sys
|
||||
|
||||
if sys.hexversion < 0x02070000:
|
||||
import unittest2 as unittest
|
||||
else:
|
||||
import unittest
|
||||
|
||||
TestCase = unittest.TestCase
|
||||
Reference in New Issue
Block a user