init
This commit is contained in:
commit
38355d2442
9083 changed files with 1225834 additions and 0 deletions
12
.venv/lib/python3.8/site-packages/mypy/test/testmypyc.py
Normal file
12
.venv/lib/python3.8/site-packages/mypy/test/testmypyc.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
"""A basic check to make sure that we are using a mypyc-compiled version when expected."""
|
||||
|
||||
import mypy
|
||||
|
||||
from unittest import TestCase
|
||||
import os
|
||||
|
||||
|
||||
class MypycTest(TestCase):
|
||||
def test_using_mypyc(self) -> None:
|
||||
if os.getenv('TEST_MYPYC', None) == '1':
|
||||
assert not mypy.__file__.endswith('.py'), "Expected to find a mypyc-compiled version"
|
||||
Loading…
Add table
Add a link
Reference in a new issue