mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 07:14:48 +08:00
more import-error detection tests
This commit is contained in:
@@ -3,3 +3,16 @@
|
|||||||
import not_existing
|
import not_existing
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
from os.path import abspath
|
||||||
|
#! import-error
|
||||||
|
from os.path import not_existing
|
||||||
|
|
||||||
|
from datetime import date
|
||||||
|
date.today
|
||||||
|
|
||||||
|
#! attribute-error
|
||||||
|
date.not_existing_attribute
|
||||||
|
|
||||||
|
#! import-error
|
||||||
|
from datetime.date import today
|
||||||
|
|||||||
Reference in New Issue
Block a user