skip deprecation warning test on py27

This commit is contained in:
Piper Merriam 2017-02-21 13:32:38 -05:00
parent e4ecb842b6
commit ed8ba1c001

View File

@ -1,5 +1,7 @@
import pytest
import sys
@pytest.fixture(autouse=True)
def wait_for_first_block(web3, wait_for_block):
@ -21,6 +23,7 @@ def test_uses_defaultAccount_when_set(web3, extra_accounts,
assert txn['from'] == extra_accounts[2]
@pytest.mark.skipif(sys.version_info.major == 2, reason="Doesn't seem to work on py27")
def test_raises_warning_and_defaults_to_coinbase_when_not_set(web3, extra_accounts,
wait_for_transaction):
with pytest.warns(DeprecationWarning):