Commit 79419b5f authored by Ruben Rodrigues's avatar Ruben Rodrigues
Browse files


parent a7ce86a5
Pipeline #997 passed with stage
in 1 minute and 27 seconds
import pkgname as pkg
import pytest
import warnings
def test():
def api_v1():
warnings.warn(UserWarning("api v1, should use functions from v2"))
return 1
def test_one():
assert api_v1() == 1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment