forked from pool/python-habanero
Compare commits
1 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 3ac0ae6272 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:196f9e01b42dad2cd829dc5d0bbe466232daf6ad5f1b0ee7098a57927b17e908
|
||||
size 1625130
|
||||
@@ -1,20 +0,0 @@
|
||||
---
|
||||
test/test-content_negotation.py | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
--- a/test/test-content_negotation.py
|
||||
+++ b/test/test-content_negotation.py
|
||||
@@ -71,11 +71,13 @@ def test_content_negotiation_raises_an_h
|
||||
|
||||
|
||||
# warnings
|
||||
+@pytest.mark.vcr
|
||||
def test_content_negotiation_throws_warnings():
|
||||
with pytest.warns(UserWarning):
|
||||
cn.content_negotiation(ids=["10.1126/science.169.3946.635", "foo"])
|
||||
|
||||
|
||||
+@pytest.mark.vcr
|
||||
def test_content_negotiation_throws_warnings_can_be_suppressed():
|
||||
warnings.filterwarnings("ignore")
|
||||
x = cn.content_negotiation(ids=["10.1126/science.169.3946.635", "foo"])
|
||||
Reference in New Issue
Block a user