mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-09 09:13:23 +00:00
12 lines
248 B
Python
12 lines
248 B
Python
import sys
|
|
|
|
|
|
def test_vcr_import_deprecation(recwarn):
|
|
if "vcr" in sys.modules:
|
|
# Remove imported module entry if already loaded in another test
|
|
del sys.modules["vcr"]
|
|
|
|
import vcr # noqa: F401
|
|
|
|
assert len(recwarn) == 0
|