mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 14:50:16 +00:00
@@ -512,4 +512,8 @@ def test_lock_no_warnings(PipenvInstance, pypi):
|
||||
os.environ["PYTHONWARNINGS"] = str("once")
|
||||
c = p.pipenv("install six")
|
||||
assert c.return_code == 0
|
||||
c = p.pipenv('run python -c "import warnings; warnings.warn(\\"This is a warning\\", DeprecationWarning); print(\\"hello\\")"')
|
||||
assert c.return_code == 0
|
||||
assert "Warning" in c.err
|
||||
assert "Warning" not in c.out
|
||||
assert "hello" in c.out
|
||||
|
||||
Reference in New Issue
Block a user