Remove type hint for compatibility with 3.5

pull/813/head
Joran Honig 6 years ago
parent abf8e0847a
commit d6c4c3cd82
  1. 5
      mythril/laser/smt/__init__.py
  2. 1
      tests/laser/state/storage_test.py

@ -87,4 +87,7 @@ class _Z3SymbolFactory(SymbolFactory):
# This is the instance that other parts of mythril should use
symbol_factory: SymbolFactory = _SmtSymbolFactory()
# Type hints are not allowed here in 3.5
# symbol_factory: SymbolFactory = _SmtSymbolFactory()
symbol_factory = _SmtSymbolFactory()

@ -1,6 +1,7 @@
import pytest
from mythril.laser.ethereum.state.account import Storage
from mythril.laser.smt import Expression
storage_uninitialized_test_data = [({}, 1), ({1: 5}, 2), ({1: 5, 3: 10}, 2)]

Loading…
Cancel
Save