Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit 32d61d2

Browse files
author
Marcin Seremak
committed
Use ImportWarning
1 parent 400c2d9 commit 32d61d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ethereum/ethpow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
ETHASH_LIB = 'pyethash' # the C++ based implementation
1919
except ImportError:
2020
ETHASH_LIB = 'ethash'
21-
warnings.warn('using pure python implementation')
21+
warnings.warn('using pure python implementation', ImportWarning)
2222

2323
if ETHASH_LIB == 'ethash':
2424
mkcache = ethash.mkcache

0 commit comments

Comments
 (0)